Class for sign language recognition. An ONNX model is loaded to be used for inference to recognize sign language alphabet and then the incoming frame is normalized. Next, the frame is forwarded to the model to extract features and output the inference result.
More...
#include <RecogModel.h>
|
| LetterRecog (const std::string &path) |
| Model loading and setting the parameters. More...
|
|
cv::Point2f | forward (cv::Mat &src) |
| Pass the frame to the model for inference. More...
|
|
Class for sign language recognition. An ONNX model is loaded to be used for inference to recognize sign language alphabet and then the incoming frame is normalized. Next, the frame is forwarded to the model to extract features and output the inference result.
◆ LetterRecog()
LetterRecog::LetterRecog |
( |
const std::string & |
path | ) |
|
Model loading and setting the parameters.
◆ forward()
cv::Point2f LetterRecog::forward |
( |
cv::Mat & |
src | ) |
|
Pass the frame to the model for inference.
◆ loadModel()
void LetterRecog::loadModel |
( |
const std::string & |
path | ) |
|
|
private |
◆ Mat_Normalization()
void LetterRecog::Mat_Normalization |
( |
cv::Mat & |
matrix | ) |
|
|
private |
Normalize the incoming frame.
◆ net
cv::dnn::Net LetterRecog::net |
|
private |
The documentation for this class was generated from the following files: