Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wangquyuan
/
ygydserver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 28bedfc1
authored
Aug 14, 2023
by
wangquyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add by wqy
1 parent
ff440fb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/src/do_request.cpp
src/src/do_request.cpp
View file @
28bedfc
...
...
@@ -160,7 +160,7 @@ static seeta::FaceDetector *create_face_detector()
}
fd_model
.
set_id
(
0
);
seeta
::
FaceDetector
*
m_fd
=
new
seeta
::
FaceDetector
(
fd_model
);
m_fd
->
set
(
seeta
::
FaceDetector
::
PROPERTY_MIN_FACE_SIZE
,
10
0
);
m_fd
->
set
(
seeta
::
FaceDetector
::
PROPERTY_MIN_FACE_SIZE
,
4
0
);
return
m_fd
;
}
...
...
@@ -178,7 +178,7 @@ static seeta::FaceTracker *create_face_tracker( int width, int height )
}
fd_model
.
set_id
(
0
);
seeta
::
FaceTracker
*
m_tracker
=
new
seeta
::
FaceTracker
(
fd_model
,
width
,
height
);
m_tracker
->
SetMinFaceSize
(
10
0
);
//set(seeta::FaceTracker::PROPERTY_MIN_FACE_SIZE, 100);
m_tracker
->
SetMinFaceSize
(
4
0
);
//set(seeta::FaceTracker::PROPERTY_MIN_FACE_SIZE, 100);
return
m_tracker
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment