简体   繁体   中英

Python OpenCV, find a specific vector shape in an image using shape detection

I have a question about OpenCV.

I have a vector image contains a shape (svg, png, dwf, ...) and I want to find the number of these shapes in another image.

I found Python code that searches for an image inside another one, but it finds it as pixels and I don't need that because the size of the image I search for may differ from one image to another.

You may consider using YOLO and train your detection network with the shape images you have like this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM