Skip to content

FBombace/ColorDetector

Repository files navigation

Written with StackEdit.

ColorDetector

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

User guide

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.

enter image description here enter image description here

In this example the searched color was red with manual shoot.

enter image description here enter image description here

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

enter image description here

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.

enter image description here

The software always ask the user if save or discard the took picture.

enter image description here

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.

enter image description here

Compiling

Simply import the project in Android Studio and you can run/build/test/compile Application package

the application package (apk) can be found in path colorDetector/build/outputs/apk/

Compatibility

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

Known bugs

  • The software actually suffer from artificial yellow lights, leading to false/miss color recognition in some case

License

Apache License v2 https://www.apache.org/licenses/

Other license

OpenCV for android v2.4.11, 3-clause BSD License. Can be found in path openCVLibrary2411/LICENSE or http://opencv.org/license.html

About

RealTime recognition of color from camera (android)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages