【文件属性】:
文件名称:object-dimension-measurement:使用OpenCV和numpy检测对象的尺寸
文件大小:3KB
文件格式:ZIP
更新时间:2021-04-17 21:36:29
Python
对象尺寸测量
使用opencv和numpy实时估算对象的尺寸:-应用轮廓法首先找到最大轮廓
- Convert img to grey scale
- then apply guassian blur on image
- Apply Canny edge detector algorithm to find the edges (input the blurred image)
- Apply erosion & dialation on image
- Find the contours
- Optimize getContours() to detect the A4 sheet paper
- Warp: to get sequence of contours
- Apply padding to remove the corner extra pixels
- Find obje
【文件预览】:
object-dimension-measurement-main
----objectMeasurement.py(2KB)
----utils.py(2KB)
----README.md(633B)