Color detection with camera in Android devices

バージョン 1.0.0.0 (28.2 KB) 作成者: Greg Drayer
This demo employs the Simulink® Support Package for Android to program an Samsung device.
ダウンロード: 944
更新 2016/5/23

ライセンスの表示

This is an example of a Simulink model that uses the Simulink® Support Package for Samsung GALAXY® Android™ Hardware to deploy and run an algorithm on a Samsung device. The support package lets you to design and run algorithms on Android-based Samsung smartphones and tablet devices using its sensors as inputs and the screen as an output.
This Simulink model makes use of blocks from the support package to implement a color detection algorithm on a live video feed from the camera of the Android device. The algorithm is designed to use the camera of the smartphone or tablet device, detect a color specified as a "reference", replace it with a predefined color, and display the resulting video on the screen of the Android device.
The reference color is defined in the "Reference_Color" block. The color detection algorithm is found in the "Color Detection" subsystem block, which makes use of MATLAB Function blocks to implement the color matching logic. The detected color is then "marked" (or replaced) with the color defined by the marking blocks, containing values for the R, G, and B components.
With the Simulink® Support Package for Samsung GALAXY® Android™ Hardware, you can design signal or image processing algorithms and applications for Android devices from Simulink. You can also develop more elaborate algorithms using the DSP System Toolbox and the Computer Vision System Toolbox.

For more information, examples, requirements of this support package and other recommended products, please visit the following hardware catalog page:

http://www.mathworks.com/hardware-support/android-programming-simulink.html

引用

Greg Drayer (2024). Color detection with camera in Android devices (https://www.mathworks.com/matlabcentral/fileexchange/55040-color-detection-with-camera-in-android-devices), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2015b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
謝辞

ヒントを得たファイル: Simulink Support Package for Android Devices

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Inspired by Simulink Support Package