Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
pobin6 committed May 18, 2018
1 parent b960b8d commit cc49cc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions projectCatch/detectcv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ int DetectCV::detectBody(Mat frame,vector<Rect> boundRect)
Point center = heightPoint(r);
for(int j = 0; j < boundRect.size(); j++)
{
if(/*center.x > boundRect[j].x
if(center.x > boundRect[j].x
&& center.x < boundRect[j].x+boundRect[j].width
&&center.y > boundRect[j].y
&& center.y > boundRect[j].y
&& center.y < boundRect[j].y+boundRect[j].height
&&*/ boundRect[i].width * boundRect[i].height > 5000)
&& boundRect[i].width * boundRect[i].height > 5000)
{
detectDirec(frame, r);
QString path2 = "p" + QString::number(n,10) + ".jpg";
Expand Down
6 changes: 3 additions & 3 deletions projectCatch/projectCatch.pro.user
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.6.1, 2018-05-16T15:03:04. -->
<!-- Written by QtCreator 4.6.1, 2018-05-18T13:56:48. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>
Expand Down Expand Up @@ -62,7 +62,7 @@
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.10.1 GCC 64bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.10.1 GCC 64bit</value>
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5101.gcc_64_kit</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
Expand Down Expand Up @@ -310,7 +310,7 @@
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">projectCatch.pro</value>
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/home/pobin6/文档/CPP/build-untitled-Desktop_Qt_5_10_1_GCC_64bit-Release</value>
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">/home/pobin6/文档/CPP/build-untitled-Desktop_Qt_5_10_1_GCC_64bit-Debug</value>
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
Expand Down

0 comments on commit cc49cc8

Please sign in to comment.