Move cv::Rect_
This commit is contained in:
@@ -124,9 +124,9 @@ CvSeq* cvLatentSvmDetectObjects(IplImage* image,
|
||||
|
||||
for (int i = 0; i < numBoxesOut; i++)
|
||||
{
|
||||
CvObjectDetection detection = {{0, 0, 0, 0}, 0};
|
||||
CvObjectDetection detection = {CvRect(), 0};
|
||||
detection.score = scoreOut[i];
|
||||
CvRect bounding_box = {0, 0, 0, 0};
|
||||
CvRect bounding_box;
|
||||
bounding_box.x = pointsOut[i].x;
|
||||
bounding_box.y = pointsOut[i].y;
|
||||
bounding_box.width = oppPointsOut[i].x - pointsOut[i].x;
|
||||
|
Reference in New Issue
Block a user