Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
c4a7f0c9
Commit
c4a7f0c9
authored
Jul 31, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified the error message you get when an impossible set of object
boxes is detected.
parent
92a3c410
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
structural_svm_object_detection_problem.h
dlib/svm/structural_svm_object_detection_problem.h
+7
-6
No files found.
dlib/svm/structural_svm_object_detection_problem.h
View file @
c4a7f0c9
...
@@ -266,12 +266,13 @@ namespace dlib
...
@@ -266,12 +266,13 @@ namespace dlib
using
namespace
std
;
using
namespace
std
;
ostringstream
sout
;
ostringstream
sout
;
sout
<<
"An impossible set of object labels was detected. This is happening because "
;
sout
<<
"An impossible set of object labels was detected. This is happening because "
;
sout
<<
"none of the sliding window detection templates is capable of matching the size "
;
sout
<<
"none of the object locations checked by the supplied image scanner is a close "
;
sout
<<
"and/or shape of one of the ground truth rectangles to within the required match_eps "
;
sout
<<
"enough match to one of the truth boxes. To resolve this you need to either lower the match_eps "
;
sout
<<
"amount of alignment. To resolve this you need to either lower the match_eps, add "
;
sout
<<
"or adjust the settings of the image scanner so that it hits this truth box. "
;
sout
<<
"another detection template which can match the offending rectangle, or adjust the "
;
sout
<<
"Or you could adjust the "
;
sout
<<
"offending truth rectangle so it can be matched by an existing detection template. "
;
sout
<<
"offending truth rectangle so it can be matched by the current image scanner. Also, if you "
;
sout
<<
"It is also possible that the image pyramid you are using is too coarse. E.g. if one of "
;
sout
<<
"are using the scan_image_pyramid object then you could try using a finer image pyramid "
;
sout
<<
"or adding more detection templates. E.g. if one of "
;
sout
<<
"your existing detection templates has a matching width/height ratio and smaller area "
;
sout
<<
"your existing detection templates has a matching width/height ratio and smaller area "
;
sout
<<
"than the offending rectangle then a finer image pyramid would probably help."
;
sout
<<
"than the offending rectangle then a finer image pyramid would probably help."
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment