mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-06-03 21:53:39 +08:00
commit
0c8bdc0885
@ -112,7 +112,7 @@ OrderPointsClockwise(std::vector<std::vector<int>> pts) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::vector<std::vector<float>> GetMiniBoxes(cv::RotatedRect box, float &ssid) {
|
std::vector<std::vector<float>> GetMiniBoxes(cv::RotatedRect box, float &ssid) {
|
||||||
ssid = std::max(box.size.width, box.size.height);
|
ssid = std::min(box.size.width, box.size.height);
|
||||||
|
|
||||||
cv::Mat points;
|
cv::Mat points;
|
||||||
cv::boxPoints(box, points);
|
cv::boxPoints(box, points);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user