Written with StackEdit.
Color detector is an open source software for the automatic recognition of colors in real time through the main camera of android smartphones/tablets, with manual or automatic picture taking. The software was developed using Android studio and OpenCV libraries for Android , v2.4.11
Simply open the app :D the camera will start to show on the display only the searched color (if set to manual picture taking, that is default setting) or will start to take picture with/without osd (On-Screen Display) countdown if the searched color is found on the actual scene taken from the camera (if set to automatic picture taking). N.B.: the below pictures don't show the GUI of the software, but only taked images.
In this example the searched color was red with manual shoot.
In this other example the searched color was blue with manual shoot.
Other colors and parameter are selectable in the option window, that can be opened by clicking on the option button
If set to automatic picture taking, the software will shoot automatic picture when recognize the searched color, with an optional osd three second delay, or if set to manual picture taking, the software will let you take picture by pressing camera button.
The software always ask the user if save or discard the took picture.
The picture can be viewed in the integrated gallery (accessible clicking the gallery button), and from them is possible to delete pictures from mass memory.
the application package (apk) can be found in path colorDetector/build/outputs/apk/
The software is compatible with version of android >= 2.3 (gingerbread). It has been tested on android versions 2.3 (CyanogenMod 7.2) and 5.1
- The software actually suffer from artificial yellow lights, leading to false/miss color recognition in some case
Apache License v2 https://www.apache.org/licenses/
OpenCV for android v2.4.11, 3-clause BSD License. Can be found in path openCVLibrary2411/LICENSE or http://opencv.org/license.html






