How to compute the center of a bounding box?
I'm using the QRCodeDetector class to get a position on a SR Code. So I use the detectAndDecode() method to search for a QR code and it returns a bounding box with the QR code region.
I know how to calculate the center of a square or rectangle. But I don't understand how the bounding box data is set.