Perspective warping using QR codes as anchors in the image

asked 2020-11-23 05:49:59 -0600

smitra gravatar image

Problem Summary

I have the following image which has two QR codes always on the fixed position as shown below. It also has a predefined region of interest taken from the user as shown by the green rectangle in image 1. Now what I want to do is when I am presented with an image (image2) taken at a certain angle, I want to do perspective warping using the QR codes as a reference anchor, such that the reading in the dial fits inside the red boundding box. Examples of image is given below. The original image which is used to draw the user defined region of interest is also given below.

image 1 image description image description

edit retag flag offensive close merge delete

Comments

Use ArUCo markers instead of QR codes. They are better suited for this kind of application.

Use at least 3 or 4 markers so you can do a WarpPrespective operation using the detected corners.

kbarni gravatar imagekbarni ( 2020-11-24 04:09:37 -0600 )edit