version:1.6.0
fix: update:使用ocr进行坐标点击
This commit is contained in:
13
app/src/main/cpp/ocr_db_post_process.h
Normal file
13
app/src/main/cpp/ocr_db_post_process.h
Normal file
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// Created by fujiayi on 2020/7/2.
|
||||
//
|
||||
#pragma once
|
||||
#include <opencv2/opencv.hpp>
|
||||
#include <vector>
|
||||
|
||||
std::vector<std::vector<std::vector<int>>>
|
||||
boxes_from_bitmap(const cv::Mat &pred, const cv::Mat &bitmap);
|
||||
|
||||
std::vector<std::vector<std::vector<int>>>
|
||||
filter_tag_det_res(const std::vector<std::vector<std::vector<int>>> &o_boxes,
|
||||
float ratio_h, float ratio_w, const cv::Mat &srcimg);
|
||||
Reference in New Issue
Block a user