[英]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 ? 我会根据它的Histogram.i跟踪教程来检测这种蛾类吗?我是否需要先为孤立的蛾计算它,然后在网络摄像头中找到特定的直方图? 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 https://flic.kr/p/nsqxRr
im looking for help in python opencv . 即时通讯在python opencv中寻求帮助。
Thanks in advance 提前致谢
What you need to do is: 你需要做的是:
1) Calculate the histogram of the "isolated moth" and store it. 1)计算“隔离蛾”的直方图并存储。
2) Do backprojection with your model histogram and the input image. 2)使用模型直方图和输入图像进行反投影 。 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 . 3)如果要生成带有位置的矩形区域,请使用2D矩 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.