Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OpenCV object detection via cascade java (NOT FACE DETECTION)

dear friends, i use openCV in Java. Everything is fine but the thing is that am limited with API, i cant create C files (i'm not skilled in C/C++ that much and i did not use them for a long time) for my specific tasks, thus i must solve my problem with haar cascade xml file...

My task is to detect simple objects NOT FACEs, just simple objects like cup on the table, clock on the wall...

I think it is possible with edge detecting, but i did not find any cascades for this simple detection stuff. It is quite hard for me to google it because when i search object detection it always gives face detection stuff...

Could you please suggest me solution for this? Your help will be appreciated. Regards.

like image 437
vach Avatar asked Apr 30 '26 03:04

vach


1 Answers

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

As you said, there are other ways to detect objects, like edge detection or color tracking for instance. There are plenty of resources for this on the web.

like image 140
Simon Avatar answered May 02 '26 17:05

Simon



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!