Files
gray_match/grayMatch.h
2025-03-13 11:42:10 +08:00

24 lines
605 B
C

#ifndef GRAY_MATCH_H
#define GRAY_MATCH_H
#include <opencv2/opencv.hpp>
#include "apiExport.h"
struct Model;
struct Pose {
float x;
float y;
float angle;
float score;
};
API_PUBLIC Model *trainModel(const cv::Mat &src, int level, double startAngle, double spanAngle,
double angleStep);
API_PUBLIC void matchModel(const cv::Mat &dst, const Model *model, int *count, Pose *poses,
int level, double startAngle, double spanAngle, double maxOverlap,
double minScore, int subpixel);
#endif // GRAY_MATCH_H