Hi.
Thanks for the report.
This autopkgtest fail comes from a call to cv::boundingRect that works
differently between OpenCV versions 4.6.0+dfsg-4+b1 from testing and
4.6.0+dfsg-6+b1 from unstable, on a ppc64el virtual machine.
Running the sample code below, which computes a bounding rectangle for
three points, the output with OpenCV 4.6.0+dfsg-4+b1 is
x: 3+4 y: 98+13
(which is what I was waiting for), and with OpenCV 4.6.0+dfsg-6+b1 is
x: 3+4 y: 0+1
(I think the values for y are not correct here).
However, the output seems correct with both versions of OpenCV on
amd64.
As far as I understand this issue, I would say that the problem comes
from OpenCV and not auto-multiple-choice.
Regards,
Alexis Bienvenüe.
----------------------------------------------------------------------
// gcc -o bounding bounding.cc -O2 -lstdc++ -lm -I/usr/include/opencv4
-lopencv_imgproc
#include <iostream>
#include <vector>
#include "opencv2/core/core.hpp"
#include "opencv2/imgproc/imgproc.hpp"
int main(int argc, char** argv)
{
std::vector<cv::Point> pts;
pts.push_back(cv::Point(3,100));
pts.push_back(cv::Point(5,98));
pts.push_back(cv::Point(6,110));
cv::Rect rect = cv::boundingRect(pts);
std::cout << "x: " << rect.x << "+" << rect.width
<< " y: " << rect.y << "+" << rect.height
<< "\n";
}