I'm new to computer vision, and I want to detect specific and flat objects in an image (or video frame).
What do I mean with specific and flat?
Well, flat objects are like objects, but, you know, flat... What it means to me:
I believe the problem is easy enough that I should be able to find a function of a computer vision library that basically works like that:
> findObjects("object.png", "image.png")
[object at x1, y1, rotated z1 degrees, size height1*width1,
object at x2, y2, rotated z2 degrees, size height2*width2,
...]
In fact I don't even really care about the sizes and locations of the objects, I just need a count.
But I can't find anything like this. All I can find are countless examples of face recognition with something called a Haar-classifier, which doesn't seem appropriate for my problem at all, because:
So, does something like this exists?
I'd prefer to use OpenCV since this seems to be the standard computer-vision library, but I am open to any solution.
Feature-Fused SSD: Fast Detection for Small Objects.
Capacitive Sensors Hence, these sensors can detect objects made from a wide variety of materials such as plastic, paper, wood, etc.
Most Popular Object Detection Algorithms. Popular algorithms used to perform object detection include convolutional neural networks (R-CNN, Region-Based Convolutional Neural Networks), Fast R-CNN, and YOLO (You Only Look Once). The R-CNN's are in the R-CNN family, while YOLO is part of the single-shot detector family.
One way to do that would be to use a keypoint matcher. Opencv has a demo doing kind-of what you want (find http://imgur.com/a/Bbc6C#gxXGh in http://imgur.com/a/Bbc6C#UfTkn as a premade demo (in the opencv 2.2 distribution: samples/c/find_obj.cpp
). The output is visualized in http://imgur.com/ZF1bh - you should be able to start from that to adapt it so it finds multiple instances of the image and counts them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With