未验证 提交 0c8bdc08 编写于 作者: D Double_V 提交者: GitHub

Merge pull request #840 from lgcy/lgc_dev

fix lite crash bug
...@@ -112,7 +112,7 @@ OrderPointsClockwise(std::vector<std::vector<int>> pts) { ...@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册