提交 88df6268 authored 作者: blu's avatar blu

evmlmotion region optimization

上级 c408d5c5
...@@ -605,7 +605,7 @@ private: ...@@ -605,7 +605,7 @@ private:
// check region // check region
auto w = origin.size().width; auto w = origin.size().width;
auto h = origin.size().height; auto h = origin.size().height;
if(detPara.region[0].y == 0) { if(detPara.region[0].y == 0 || (detPara.region[0].x == 0 && detPara.region[0].y == 0 && detPara.region[1].x == 1 && detPara.region[1].y == 1)) {
// do nothing // do nothing
}else { }else {
// crop // crop
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论