<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[小白请教 使用yolov3不出现检测框 outputvec里面是显示检测到了]]></title><description><![CDATA[<p>![0_1602001132607_72cdaf6e-ee28-4db3-8190-f00797f70732-undefined](正在上传 100%) !<br />
![0_1602001170114_8064a099-86ac-4484-95a5-0ff6d72b4780-undefined](正在上传 100%)</p>
]]></description><link>http://t.manaai.cn/topic/314/小白请教-使用yolov3不出现检测框-outputvec里面是显示检测到了</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 21:14:43 GMT</lastBuildDate><atom:link href="http://t.manaai.cn/topic/314.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Oct 2020 01:19:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 小白请教 使用yolov3不出现检测框 outputvec里面是显示检测到了 on Wed, 07 Oct 2020 01:19:56 GMT]]></title><description><![CDATA[<p>![0_1602001132607_72cdaf6e-ee28-4db3-8190-f00797f70732-undefined](正在上传 100%) !<br />
![0_1602001170114_8064a099-86ac-4484-95a5-0ff6d72b4780-undefined](正在上传 100%)</p>
]]></description><link>http://t.manaai.cn/post/750</link><guid isPermaLink="true">http://t.manaai.cn/post/750</guid><dc:creator><![CDATA[yinlighost]]></dc:creator><pubDate>Wed, 07 Oct 2020 01:19:56 GMT</pubDate></item><item><title><![CDATA[Reply to 小白请教 使用yolov3不出现检测框 outputvec里面是显示检测到了 on Wed, 07 Oct 2020 04:28:27 GMT]]></title><description><![CDATA[<pre><code>                YOLOv3 YOLO;

		if (!m_sYoloInfo[1].bEnable)
			continue;
		char chCfgPath[1024];
		char chWeightPath[1024];
		strcpy(chCfgPath, m_sYoloInfo[0].strCfgPath.c_str());
		strcpy(chWeightPath, m_sYoloInfo[0].strWeightPath.c_str());
		YOLO.read_labels(m_sYoloInfo[0].strLabelPath);
		YOLO.load_ntw(chCfgPath, chWeightPath, m_sYoloInfo[0].nNetW, m_sYoloInfo[0].nNetH);  // load network model and weights

		cv::Mat cvMatSrc, cvMatImg;
		CopyToCvMat(cvMatImg, sMain.cImage);
		int nNetW = 608;
		int nNetH = 608;
		cvMatSrc = cv::Mat(nNetH, nNetW, CV_8UC3, cv::Scalar(128, 128, 128));
		float fResizeRate = min((float)nNetW / cvMatImg.cols, (float)nNetH / cvMatImg.rows);
		cv::Size sResizedSize(cvMatImg.cols * fResizeRate, cvMatImg.rows * fResizeRate);
		cv::resize(cvMatImg, cvMatImg, sResizedSize);

		cv::Rect sSrcRect((nNetW - sResizedSize.width) * 0.5, (nNetH - sResizedSize.height) * 0.5, sResizedSize.width, sResizedSize.height);
		cvMatImg.copyTo(cvMatSrc(sSrcRect));
		//cv::imshow(&quot;sss&quot;, cvMatSrc(sSrcRect));
		//cv::waitKey();

		YOLO.forward(cvMatSrc);

		std::vector&lt;std::vector&lt;float&gt;&gt; outputVec = YOLO.GetOutputVec();
		CString cStr;
		for (size_t i = 0; i &lt; outputVec.size(); ++i)
		{
			int cls = outputVec[i][0];
			float prob = outputVec[i][1];
			if (prob &lt; 0.5)
				continue;
			for (int j = 2; j &lt; 6; j++) {
				float fTmp = outputVec[i][j];
				if (j == 2 || j == 3)
					outputVec[i][j] = LIMIT(0, (fTmp - sSrcRect.x) / fResizeRate, sMain.cImage.Width());
				else
					outputVec[i][j] = LIMIT(0, (fTmp - sSrcRect.y) / fResizeRate, sMain.cImage.Height());
			}
			cv::Rect box;
			box.x = outputVec[i][2];
			box.y = outputVec[i][4];
			box.width = outputVec[i][3] - outputVec[i][2] - 1;
			box.height = outputVec[i][5] - outputVec[i][4] - 1;
			//cv::rectangle(cvMatImg, cv::Point(box.x, box.y), cv::Point(outputVec[i][3], outputVec[i][5]), (0, 0, 255));// , 1, 1, 0);
			cv::rectangle(cvMatImg, cv::Point((int)box.x, (int)box.y), cv::Point((int)box.x+ (int)box.width, (int)box.y+ (int)box.height), (0, 0, 255));// , 1, 1, 0);

			cStr.Format(_T(&quot;    %d(%f): %d-%d-%d-%d\n&quot;), cls, prob, box.x, box.y, box.width, box.height);
			::OutputDebugString(cStr);</code></pre>
]]></description><link>http://t.manaai.cn/post/752</link><guid isPermaLink="true">http://t.manaai.cn/post/752</guid><dc:creator><![CDATA[yinlighost]]></dc:creator><pubDate>Wed, 07 Oct 2020 04:28:27 GMT</pubDate></item><item><title><![CDATA[Reply to 小白请教 使用yolov3不出现检测框 outputvec里面是显示检测到了 on Wed, 07 Oct 2020 04:29:43 GMT]]></title><description><![CDATA[<p>1(0.987501): 1154-623-97-126<br />
0(0.790216): 1631-707-81-47<br />
0(0.600490): 1878-716-37-72<br />
0(0.561328): 1116-687-18-18<br />
0(0.984929): 1058-678-35-34<br />
0(0.604419): 1136-688-20-18<br />
0(0.988162): 1089-685-24-26<br />
输出的信息是这样的  但是图像中没有任何的框子</p>
]]></description><link>http://t.manaai.cn/post/753</link><guid isPermaLink="true">http://t.manaai.cn/post/753</guid><dc:creator><![CDATA[yinlighost]]></dc:creator><pubDate>Wed, 07 Oct 2020 04:29:43 GMT</pubDate></item><item><title><![CDATA[Reply to 小白请教 使用yolov3不出现检测框 outputvec里面是显示检测到了 on Thu, 22 Oct 2020 09:21:47 GMT]]></title><description><![CDATA[<p>你好  我使用Efficientdet训练自己的数据集 测试的时候发现满屏的框    是啥原因呢<br />
![0_1603358503554_ba57abcf-8a94-45aa-a21a-f3aa55b25e51-image.png](正在上传 100%)</p>
]]></description><link>http://t.manaai.cn/post/759</link><guid isPermaLink="true">http://t.manaai.cn/post/759</guid><dc:creator><![CDATA[打不死的小强]]></dc:creator><pubDate>Thu, 22 Oct 2020 09:21:47 GMT</pubDate></item></channel></rss>