1 | initial version |
Depends in what invironment you are coding, I would recommend listeners, and strore the image in database in Mat format, meaning you read the jpg for example, get them Mat descriptors, and store them with the Mat to file function I think I have seen something smiilar, but you have to google it (save mat to file or smtng). And on the server I would recommend multiple threads to compare each file saved at the same time with the camera image. I would suggest the RobustMatcher shown here Robust Matcher it filters bad results, and gives you a good answer after the SURF is done, from 1600 matches it filters the 10-50 good ones out.