Create new android sample for color blob detection (Feature #1848)


Added by Andrey Pavlenko almost 13 years ago. Updated almost 13 years ago.


Status:Done Start date:2012-04-25
Priority:Normal Due date:
Assignee:Alexander Smorkalov % Done:

0%

Category:android
Target version:2.4.1
Difficulty: Pull request:

Description

Scenario: on camera preview a user touches some point, the application draws contours for objects of similar colors on the current frame.
Algo: convert to HSV (or LAB), get the touched point color, use inRange() to create a mask of points of similar colors, use dilate() and findContours(), drawContours() on the output image


Associated revisions

Revision ca8c129c
Added by Andrey Pavlenko over 11 years ago

Merge pull request #1848 from ilya-lavrenov:warn

History

Updated by Joel Mckay almost 13 years ago

OpenCV has numerous options, but CvBlob is another project not part of OpenCV that also works well.

http://code.google.com/p/cvblob/

  • not sure if it has been updated for OpenCV 2.4 yet, as some function definitions have changed slightly in some areas.

Updated by Kirill Kornyakov almost 13 years ago

  • Target version changed from 2.4.0 to 3.0

Updated by Alexander Smorkalov almost 13 years ago

Implemented at revision r8326.

  • Status changed from Open to Done

Updated by Andrey Kamaev almost 13 years ago

  • Target version changed from 3.0 to 2.4.1

Also available in: Atom PDF