#include <ocr_postprocess_op.h>
|
| std::vector< std::vector< std::vector< int > > > | BoxesFromBitmap (const cv::Mat pred, const cv::Mat bitmap, const float &box_thresh, const float &det_db_unclip_ratio, const std::string &det_db_score_mode) |
| |
| float | BoxScoreFast (std::vector< std::vector< float >> box_array, cv::Mat pred) |
| |
| std::vector< std::vector< std::vector< int > > > | FilterTagDetRes (std::vector< std::vector< std::vector< int >>> boxes, const std::array< int, 4 > &det_img_info) |
| |
| void | GetContourArea (const std::vector< std::vector< float >> &box, float unclip_ratio, float &distance) |
| |
| std::vector< std::vector< float > > | GetMiniBoxes (cv::RotatedRect box, float &ssid) |
| |
| float ** | Mat2Vec (cv::Mat mat) |
| |
| std::vector< std::vector< int > > | OrderPointsClockwise (std::vector< std::vector< int >> pts) |
| |
| float | PolygonScoreAcc (std::vector< cv::Point > contour, cv::Mat pred) |
| |
| cv::RotatedRect | UnClip (std::vector< std::vector< float >> box, const float &unclip_ratio) |
| |
Definition at line 21 of file ocr_postprocess_op.h.
◆ BoxesFromBitmap()
| std::vector<std::vector<std::vector<int> > > nndeploy::ocr::PostProcessor::BoxesFromBitmap |
( |
const cv::Mat |
pred, |
|
|
const cv::Mat |
bitmap, |
|
|
const float & |
box_thresh, |
|
|
const float & |
det_db_unclip_ratio, |
|
|
const std::string & |
det_db_score_mode |
|
) |
| |
◆ BoxScoreFast()
| float nndeploy::ocr::PostProcessor::BoxScoreFast |
( |
std::vector< std::vector< float >> |
box_array, |
|
|
cv::Mat |
pred |
|
) |
| |
◆ FilterTagDetRes()
| std::vector<std::vector<std::vector<int> > > nndeploy::ocr::PostProcessor::FilterTagDetRes |
( |
std::vector< std::vector< std::vector< int >>> |
boxes, |
|
|
const std::array< int, 4 > & |
det_img_info |
|
) |
| |
◆ GetContourArea()
| void nndeploy::ocr::PostProcessor::GetContourArea |
( |
const std::vector< std::vector< float >> & |
box, |
|
|
float |
unclip_ratio, |
|
|
float & |
distance |
|
) |
| |
◆ GetMiniBoxes()
| std::vector<std::vector<float> > nndeploy::ocr::PostProcessor::GetMiniBoxes |
( |
cv::RotatedRect |
box, |
|
|
float & |
ssid |
|
) |
| |
◆ Mat2Vec()
| float** nndeploy::ocr::PostProcessor::Mat2Vec |
( |
cv::Mat |
mat | ) |
|
◆ OrderPointsClockwise()
| std::vector<std::vector<int> > nndeploy::ocr::PostProcessor::OrderPointsClockwise |
( |
std::vector< std::vector< int >> |
pts | ) |
|
◆ PolygonScoreAcc()
| float nndeploy::ocr::PostProcessor::PolygonScoreAcc |
( |
std::vector< cv::Point > |
contour, |
|
|
cv::Mat |
pred |
|
) |
| |
◆ UnClip()
| cv::RotatedRect nndeploy::ocr::PostProcessor::UnClip |
( |
std::vector< std::vector< float >> |
box, |
|
|
const float & |
unclip_ratio |
|
) |
| |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/nndeploy-zh/checkouts/latest/plugin/include/nndeploy/ocr/ocr_postprocess_op.h