Hi,
After a lot of work trying to make flann matcher and sift to work on OpencvJS i finally have it working. Problem is i am trying to do feature matching for a streaming live cam in real-time and sift and flann are not fast enough. I think i have about 4FPS.
I have other code doing the same with ORB and a BF matcher and i noticed something. In this second algorithm what is slowing down the program is the matching itself as the brute force matcher is really slow, i think i have 1FPS. But ORB feature extraction is super-fast and is doing it at 30fps.
In the case of flann, what is really slow is the SIFT algorithm, not sure how much faster is the matcher compared to the BF. But what i would like to test is using ORB with FLANN, and for that, i have to change parameters on the constructor:
*
While using ORB, you can pass the following. The commented values are recommended as per the docs, but it didn’t provide required results in some cases. Other values worked fine.:
index_params= dict(algorithm = FLANN_INDEX_LSH, table_number = 6, # 12 key_size = 12, # 20 multi_probe_level = 1) #2
If i left the constructor empty and use de default values, which i don’t know what they are. The matcher does not work.
The main problem is i dont know how to create and pass the parameters to the constructor.
Thanks