Skip to content

Commit cc49cc8

Browse files
committed
save
1 parent b960b8d commit cc49cc8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

projectCatch/detectcv.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ int DetectCV::detectBody(Mat frame,vector<Rect> boundRect)
5050
Point center = heightPoint(r);
5151
for(int j = 0; j < boundRect.size(); j++)
5252
{
53-
if(/*center.x > boundRect[j].x
53+
if(center.x > boundRect[j].x
5454
&& center.x < boundRect[j].x+boundRect[j].width
55-
&&center.y > boundRect[j].y
55+
&& center.y > boundRect[j].y
5656
&& center.y < boundRect[j].y+boundRect[j].height
57-
&&*/ boundRect[i].width * boundRect[i].height > 5000)
57+
&& boundRect[i].width * boundRect[i].height > 5000)
5858
{
5959
detectDirec(frame, r);
6060
QString path2 = "p" + QString::number(n,10) + ".jpg";

projectCatch/projectCatch.pro.user

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!DOCTYPE QtCreatorProject>
3-
<!-- Written by QtCreator 4.6.1, 2018-05-16T15:03:04. -->
3+
<!-- Written by QtCreator 4.6.1, 2018-05-18T13:56:48. -->
44
<qtcreator>
55
<data>
66
<variable>EnvironmentId</variable>
@@ -62,7 +62,7 @@
6262
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.10.1 GCC 64bit</value>
6363
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.10.1 GCC 64bit</value>
6464
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5101.gcc_64_kit</value>
65-
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
65+
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
6666
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
6767
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
6868
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
@@ -310,7 +310,7 @@
310310
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">projectCatch.pro</value>
311311
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
312312
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
313-
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/home/pobin6/文档/CPP/build-untitled-Desktop_Qt_5_10_1_GCC_64bit-Release</value>
313+
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/home/pobin6/文档/CPP/build-untitled-Desktop_Qt_5_10_1_GCC_64bit-Debug</value>
314314
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
315315
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
316316
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>

0 commit comments

Comments
 (0)