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

NeuralSegmentation implements segmentation based on neural network from Innovatrics ISegLib library. More...

#include <PrintDetector.h>

Collaboration diagram for NeuralSegmentation:

Classes

class  Config
 Configuration for NeuralSegmentation. More...

Public Member Functions

 NeuralSegmentation (Config config)
 Construct a new NeuralSegmentation object.
 NeuralSegmentation ()
 Construct a new NeuralSegmentation with default config.
 NeuralSegmentation (Config config, std::shared_ptr< PrintExecutor > executor)
 Construct a new NeuralSegmentation object.
 NeuralSegmentation (std::shared_ptr< PrintExecutor > executor)
 Construct a new NeuralSegmentation 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

NeuralSegmentation implements segmentation based on neural network from Innovatrics ISegLib library.

Constructor & Destructor Documentation

◆ NeuralSegmentation() [1/3]

NeuralSegmentation ( Config config)
inlineexplicit

Construct a new NeuralSegmentation object.

Parameters
configConfig

◆ NeuralSegmentation() [2/3]

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

Construct a new NeuralSegmentation 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:

◆ NeuralSegmentation() [3/3]

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

Construct a new NeuralSegmentation 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: