基于OpenCV的 桌面手机的尺寸测量

上传者: 42132177 | 上传时间: 2022-05-06 14:05:58 | 文件大小: 61.7MB | 文件类型: ZIP
基于OpenCV的 桌面手机的尺寸测量(cpp_opencv4_1_1.rar) 在工业领域,物体的尺寸识别一直是一个需要耗费大量的人力和无力的事情。本文针对该问题,在前期对图像进行预处理,以减少噪声,改善图像的质量,使之更适合机器的处理,利用灰度化、二值化、高斯滤波、Canny算子检测边缘以及膨胀腐蚀对不连续线段进行连接;再对处理后的图像进行直线的标定及交点的确定,以对其进行倾斜矫正,并利用四个点之间的关系,求取校正后的图像的位置,以实现对部分图像的透视矫正;使之在之后的目标识别测量中的结构更精确,在实现测量便捷的同时,也提高了检测的效率。 实验针对10组数据,进行了检测,其中有10%能够实现透视矫正,有20%能够实现倾斜校正,有80%能够粗略的测量手机的尺寸。实验结果表明,本文的预处理及所运用的识别方法行之有效,较传统方法相比,有参考物体的比照,使之计算量大大减少,能够快速便捷有效地检测手机的尺寸。

文件下载

资源详情

[{"title":"( 28 个子文件 61.7MB ) 基于OpenCV的 桌面手机的尺寸测量","children":[{"title":"cpp_opencv4_1_1","children":[{"title":".vs","children":[{"title":"cpp_opencv4_1_1","children":[{"title":"v15","children":[{"title":"Browse.VC.db <span style='color:#111;'> 20.39MB </span>","children":null,"spread":false},{"title":".suo <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"ipch","children":[{"title":"AutoPCH","children":[{"title":"cf2bf4d88effdd99","children":[{"title":"MAIN.ipch <span style='color:#111;'> 97.63MB </span>","children":null,"spread":false}],"spread":true},{"title":"294475317db3ea73","children":[{"title":"TRY_1.ipch <span style='color:#111;'> 97.63MB </span>","children":null,"spread":false}],"spread":true},{"title":"729de68fe496d8a8","children":[{"title":"TRY_2.ipch <span style='color:#111;'> 97.63MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"cpp_opencv4_1_1.sln <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"cpp_opencv4_1_1","children":[{"title":"try_2.cpp <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"cpp_opencv4_1_1.vcxproj <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"cpp_opencv4_1_1.vcxproj.filters <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"cpp_opencv4_1_1.log <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"cpp_opencv4_1_1.tlog","children":[{"title":"CL.write.1.tlog <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 26.38KB </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 766B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"cpp_opencv4_1_1.lastbuildstate <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":true},{"title":"try_2.obj <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 1.33MB </span>","children":null,"spread":false},{"title":"vc141.idb <span style='color:#111;'> 579.00KB </span>","children":null,"spread":false},{"title":"try_1.obj <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false},{"title":"vc141.pdb <span style='color:#111;'> 1.96MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"main.cpp <span style='color:#111;'> 16.94KB </span>","children":null,"spread":false},{"title":"try_1.cpp <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"cpp_opencv4_1_1.vcxproj.user <span style='color:#111;'> 165B </span>","children":null,"spread":false}],"spread":true},{"title":"x64","children":[{"title":"Debug","children":[{"title":"cpp_opencv4_1_1.ilk <span style='color:#111;'> 1.85MB </span>","children":null,"spread":false},{"title":"cpp_opencv4_1_1.exe <span style='color:#111;'> 293.00KB </span>","children":null,"spread":false},{"title":"cpp_opencv4_1_1.pdb <span style='color:#111;'> 1.70MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"1","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明