I am trying to use SURF algorithm to match two images. source image is taking by the camera and the template images are in the database. once the camera takes the image, SURF will match the source image with the image in the database.
I am not sure how to create the image database and link it to the SURF, so it automatically start matching once the image is taking by the camera.