Camera pose estimation with QR code by Opencv

asked 2019-11-27 10:44:59 -0600

Hello,

I am detecting a QR code with ZBAR library, and I have as information the 4 corners of the QR code, I can't find an answer to my question: is it possible by using only the position of the QR code (4 corners) to estimate the pose of the camera: if the camera is above, below, on the left or in the right of the QR code, the result of the pose can be for example an angle in degrees.

And thak you.

edit retag flag offensive close merge delete

Comments

I am detecting a QR code with ZBAR library

you can do that, using opencv, too ;)

berak gravatar imageberak ( 2019-11-27 10:57:23 -0600 )edit

@berak I have tested it, and according to my tests Zbar (version 0.10) is more stable than cv::QRCodeDetector (4.1.0 version). I think Zbar is the best library that exist to detect a QR code(maybe i am wrong).

Kitnos gravatar imageKitnos ( 2019-11-27 11:04:05 -0600 )edit
1

Yes, current results are suboptimal: Performance:QrCode.

Look at solvePnP() and pose estimation topic.

Eduardo gravatar imageEduardo ( 2019-11-27 14:00:01 -0600 )edit