How to compile an opencvjs file with SIFT algorithm from opencv

no, sorry.

FlannBasedMatcher

you could try to make one from the DescriptorMatcher class, like:

m = new cv.DescriptorMatcher("FlannBased")

(yea, weird, needs a ’ new’ instead of the expected ‘create’ !!)

also, if i may ask – what’s your ‘use-case’ for this ? which problem are you trying to solve ?