Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You did the following steps:</p> <ol> <li>Match key points in 2 images.</li> <li>Assuming the match was correct, calculate homography (projection matrix).</li> <li>Use the homography to project the corners of original image to draw a quadrilateral shape (which you refer to as rectangle under) perspective transformation.</li> </ol> <p>The problem you are having is that when step 1 fails you get a wrong homography in step 2 (wrong matrix) and when you project the corners in step 3, they can fall out of the image and you don't see the lines.</p> <p>What you actually want is a way to know whether the homography you calculated is of a correct form. To do this please see the answer here: <a href="https://stackoverflow.com/questions/14954220/how-to-check-if-obtained-homography-matrix-is-good/14965352#14965352">How to check if obtained homography matrix is good?</a> Use it to test if your homography is correct. If not, you know that the match resulted in a failure. If it is correct, you can draw a rectangle and you will see it but it might be not so accurate if the match between key points was not accurate.</p> <p>Finally, I think that your algorithmic approach is wrong. Recognizing/detecting a vehicle from top view by matching it to image of vehicle from frontal view is a dead end. You should not use key points matching at all. Just mark manually all the vehicles on the images and send it to SVM. If this is too much work use Mechanical Turk platform to label the vehicles automatically. In conclusion - key points match is an approach that just does not suits your needs because it has a strong assumption that the appearance of the car in both images is similar. In your case those images are too different (due to the 3D structure of the car and different viewing angles)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload