Enrollment 28.2.0
Loading...
Searching...
No Matches
AlgorithmicSegmentation Class Referencefinal

AlgorithmicSegmentation implements algorithmic segmentation from Innovatrics ISegLib library. More...

#include <PrintDetector.h>

Collaboration diagram for AlgorithmicSegmentation:

Classes

class  Config
 Configuration for AlgorithmicSegmentation. More...

Public Member Functions

 AlgorithmicSegmentation (Config config)
 Construct a new AlgorithmicSegmentation object.
 AlgorithmicSegmentation ()=default
 Construct a new Algorithmic Segmentation with default config.
 AlgorithmicSegmentation (Config config, std::shared_ptr< PrintExecutor > executor)
 Construct a new AlgorithmicSegmentation object.
 AlgorithmicSegmentation (std::shared_ptr< PrintExecutor > executor)
 Construct a new Algorithmic Segmentation with default config.
std::vector< std::shared_ptr< PrintSegment > > Segment (const std::shared_ptr< PrintCapture > &capture) final
 Detects segments in given image The Function scans the provided capture to locate fingers.

Detailed Description

AlgorithmicSegmentation implements algorithmic segmentation from Innovatrics ISegLib library.

Constructor & Destructor Documentation

◆ AlgorithmicSegmentation() [1/3]

AlgorithmicSegmentation ( Config config)
inlineexplicit

Construct a new AlgorithmicSegmentation object.

Parameters
configConfig

◆ AlgorithmicSegmentation() [2/3]

AlgorithmicSegmentation ( Config config,
std::shared_ptr< PrintExecutor > executor )
inline

Construct a new AlgorithmicSegmentation object.

Parameters
configConfig
executorPrintExecutor to set where functionality is executed
Exceptions
NullArgumentExceptionwhen executor is null

References PrintDetector::PrintDetector().

Here is the call graph for this function:

◆ AlgorithmicSegmentation() [3/3]

AlgorithmicSegmentation ( std::shared_ptr< PrintExecutor > executor)
inlineexplicit

Construct a new Algorithmic Segmentation with default config.

Parameters
executorPrintExecutor to set where functionality is executed
Exceptions
NullArgumentExceptionwhen executor is null

References PrintDetector::PrintDetector().

Here is the call graph for this function:

Member Function Documentation

◆ Segment()

std::vector< std::shared_ptr< PrintSegment > > Segment ( const std::shared_ptr< PrintCapture > & capture)
inlinefinalinherited

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
capturePrintCapture
Returns
slap segments
Exceptions
EnrollmentExceptionwhen ISegLib returns error

References DoDetect().

Here is the call graph for this function:

The documentation for this class was generated from the following file: