Ask Your Question
0

Sample image as training image

asked 2013-11-01 07:02:14 -0600

motiur gravatar image

So , I was following this this code sample from opencv about surf and homography and I was interested in the train sample that was required to such experiment . I downloaded the two images at the bottom box.png and box_in_scene.png to validate the correctness of this code , I was alright . Now , I went to test this code with my own image , on the left is an image of a flash drive , and on the right is an image of a scissor with an usb drive . I failed to get any rectangular box on the test image ( the scissor and usb drive) . Usb and scissor. However I know the code is working when I take different train sample for example this one with a paper box on the left and paper box in the mix with bed sheet . Box and bed sheet. Now my question is , what sort of training images should I rely on to give a good response , or is it something to do with the scenery that I choose as my test sample. Also had I chosen a video sample as my test case , would I be able to receive more responsive result . Thanks .

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-11-03 03:35:17 -0600

FLY gravatar image

updated 2013-11-04 10:16:32 -0600

There is nothing wrong with the algorithm or with the code , but i think if you want some good results on specific thing you better need to train it surf with svm , SVM approach with SURF and BOW will lead you towards good results

You can visit svm with images algorithm from here

and SVM with SURF from here

edit flag offensive delete link more

Comments

Would you add a few more lines .

motiur gravatar imagemotiur ( 2013-11-03 18:23:05 -0600 )edit

Question Tools

Stats

Asked: 2013-11-01 07:02:14 -0600

Seen: 567 times

Last updated: Nov 04 '13