简体   繁体   中英

Histogram,and histogram bounding box

would i go about detecting this kind of Moth based on its Histogram.i followed tutorials and i do i need to calculate it first for the isolated moth and then find that specific histogram in the webcam feed ? if so, how to search for specific Histogram values within that picture ? Also how to go about creating a bounding box around the target ?

https://flic.kr/p/nsqxRr

im looking for help in python opencv .

Thanks in advance

What you need to do is:

1) Calculate the histogram of the "isolated moth" and store it.

2) Do backprojection with your model histogram and the input image. The zones of the image containing the histogram you are looking for should "glow" in the backprojection image.

3) If you want to generate rectangle-shaped regions with the location, use 2D moments .

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