Skip to content

Commit f94ebf0

Browse files
committed
small fix for mask not facing dead on
1 parent 66d4aaa commit f94ebf0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

smll/DetectionResults.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ namespace smll {
7474
const cv::Mat& m = f.GetCVRotation();
7575
double angle = sqrt(m.dot(m));
7676
double dividor = angle;
77-
if (angle < 0.001) {
78-
rotation[0] = 1.0;
79-
rotation[1] = 0.0;
77+
if (angle < 0.00001) {
78+
rotation[0] = 0.0;
79+
rotation[1] = 1.0;
8080
rotation[2] = 0.0;
8181
rotation[3] = 0.0;
8282
}

0 commit comments

Comments
 (0)