91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

檢測圖片中的簡單幾何圖形,如三角形、圓形、矩形等,使用opencv實現,通用的檢測方法,實現要根據實際進行調整。

資源截圖

代碼片段和文件信息

/**
*?Simple?shape?detector?program.
*?It?loads?an?image?and?tries?to?find?simple?shapes?(rectangle?triangle?circle?etc)?in?it.
*?This?program?is?a?modified?version?of?‘squares.cpp‘?found?in?the?OpenCV?sample?dir.
*/
#include?
#include?
#include?
#include?

/**
*?Helper?function?to?find?a?cosine?of?angle?between?vectors
*?from?pt0->pt1?and?pt0->pt2
*/
static?double?angle(cv::Point?pt1?cv::Point?pt2?cv::Point?pt0)
{
double?dx1?=?pt1.x?-?pt0.x;
double?dy1?=?pt1.y?-?pt0.y;
double?dx2?=?pt2.x?-?pt0.x;
double?dy2?=?pt2.y?-?pt0.y;
return?(dx1*dx2?+?dy1*dy2)?/?sqrt((dx1*dx1?+?dy1*dy1)*(dx2*dx2?+?dy2*dy2)?+?1e-10);
}

/**
*?Helper?function?to?display?text?in?the?center?of?a?contour
*/
void?setLabel(cv::Mat&?im?co

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-02-20?22:19??shapedtection\
?????目錄???????????0??2015-02-19?17:53??shapedtection\Debug\
?????文件??????115200??2015-02-20?20:42??shapedtection\Debug\shapedtection.exe
?????文件?????1239640??2015-02-20?20:42??shapedtection\Debug\shapedtection.ilk
?????文件?????1911808??2015-02-20?20:42??shapedtection\Debug\shapedtection.pdb
?????目錄???????????0??2015-02-20?20:42??shapedtection\shapedtection\
?????文件????11534336??2015-02-20?22:19??shapedtection\shapedtection.sdf
?????文件?????????985??2015-02-19?17:43??shapedtection\shapedtection.sln
?????文件???????24064??2015-02-20?22:19??shapedtection\shapedtection.v12.suo
?????目錄???????????0??2015-02-20?20:42??shapedtection\shapedtection\Debug\
?????文件????????2299??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.log
?????目錄???????????0??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.tlog\
?????文件?????????834??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.tlog\cl.command.1.tlog
?????文件???????13902??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.tlog\CL.read.1.tlog
?????文件?????????880??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.tlog\CL.write.1.tlog
?????文件????????2392??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.tlog\link.command.1.tlog
?????文件????????4558??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.tlog\link.read.1.tlog
?????文件?????????864??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.tlog\link.write.1.tlog
?????文件?????????215??2015-02-20?20:42??shapedtection\shapedtection\Debug\shapedtection.tlog\shapedtection.lastbuildstate
?????文件??????404480??2015-02-20?20:42??shapedtection\shapedtection\Debug\vc120.idb
?????文件??????741376??2015-02-20?20:42??shapedtection\shapedtection\Debug\vc120.pdb
?????文件??????409417??2015-02-20?20:42??shapedtection\shapedtection\Debug\源.obj
?????文件????????4524??2015-02-19?17:53??shapedtection\shapedtection\shapedtection.vcxproj
?????文件?????????944??2015-02-19?17:51??shapedtection\shapedtection\shapedtection.vcxproj.filters
?????文件????????3743??2015-02-20?20:42??shapedtection\shapedtection\源.cpp

評論

共有 條評論