First time here? Check out the FAQ!

Ask Your Question
0

Sample image as training image

asked Nov 1 '13

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 .

Preview: (hide)

1 answer

Sort by » oldest newest most voted
0

answered Nov 3 '13

FLY gravatar image

updated Nov 4 '13

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

Preview: (hide)

Comments

Would you add a few more lines .

motiur gravatar imagemotiur (Nov 4 '13)edit

Question Tools

Stats

Asked: Nov 1 '13

Seen: 643 times

Last updated: Nov 04 '13