OpenCV object discovery through cascading java (NO FACE DETECTION)

Dear friends, I use openCV in Java. Everything is fine, but the fact is that I am limited by the API, I cannot create C files (I am not very good at C / C ++ and have not used them for a long time) for my specific tasks, so I have to solve my problem is with the XML cascade of the xml file ...

My task is to detect simple objects NOT FACEs, just simple objects such as a cup on a table, a clock on a wall ...

I think this is possible with edge detection, but I have not found any cascades for this simple detection element. It’s quite difficult for me to do this, because when I detect detection of an object, it always gives information about detecting a face ...

Could you offer me a solution for this? Your help will be greatly appreciated. Regards.

+3
source share
2 answers

You can create your own haarkaskades, but it is a lot of work! You will find interesting links in the answers to this question .

As you said, there are other ways to detect objects, such as detecting borders or tracking colors , for example. There are many resources on the Internet.

+1
source

I think I'll find a solution

1) There is one solution - there is a very useful blob function that does exactly what I wanted, and even more, it detects the center of blob ...

2) CV.findContours(...) .

, , - ...

0

All Articles