Ask Your Question
0

object identification based on color and shape

asked 2015-06-02 06:03:30 -0600

Hi, i am using android studio (java) and i would like to make an app that recognizes, designated objects in a picture. for instance: 1)i would like to make a list with blue bottles 2)then an ordinary picture would be scanned for blue bottles.

after a search on google, i have found this webpage and i have downloaded opencv which seems to be very promising, but i never worked on it, so any tips, ideas or recommendations are welcome :)

thanks a lot in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-18 18:46:10 -0600

unxnut gravatar image

Here are the steps to follow:

  1. Convert your image to HSV.
  2. Threshold the image based on your color value.
  3. Run findcontours on the thresholded image.
  4. Look at different contour properties to find a shape match. This page can help in looking at different properties that you can access.
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-06-02 06:03:30 -0600

Seen: 746 times

Last updated: Jun 18 '15