PrintDetector implements segmentation by means of Innovatrics ISegLib library.
More...
#include <PrintDetector.h>
|
| virtual inno_PrintDetector_result | DoDetect (const std::shared_ptr< PrintExecutor > &executor, const std::shared_ptr< Image > &image, FormattingLogger &logger)=0 |
| | Template method for various segmentation strategies.
|
PrintDetector implements segmentation by means of Innovatrics ISegLib library.
It is class that defines template method PrintDetector::DoDetect for various segmentation strategies.
◆ PrintDetector()
Construct a new PrintDetector object.
- Parameters
-
- Exceptions
-
| NullArgumentException | when executor is null |
◆ DoDetect()
| virtual inno_PrintDetector_result DoDetect |
( |
const std::shared_ptr< PrintExecutor > & | executor, |
|
|
const std::shared_ptr< Image > & | image, |
|
|
FormattingLogger & | logger ) |
|
protectedpure virtual |
Template method for various segmentation strategies.
- Parameters
-
- Returns
- inno_PrintDetector_result result of segmentation from binary part of library
Referenced by Segment().
◆ Segment()
Detects segments in given image The Function scans the provided capture to locate fingers.
For each identified finger, it estimates its position on the hand by comparing the x-coordinate of the center of the finger's bounding box rectangle. As a result, the estimation may not be precise for slaps with an angle greater than 45 degrees and is not suitable for PrintCapture types other than Slap or Thumbs.
- Parameters
-
- Returns
- slap segments
- Exceptions
-
| EnrollmentException | when ISegLib returns error |
References DoDetect().
The documentation for this class was generated from the following file: