Ask Your Question

machine learning algorithm with opencv.js (javascript)

asked 2019-04-21 13:28:55 -0600

shariq_azim gravatar image


Can somebody validate if all the algorithms available in OpenCV-Machine Learning Overview also available in javascript? If yes, how exactly should be the api/syntax of SVM or Boosting, or any other algorithms.

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-04-21 14:44:23 -0600

berak gravatar image

updated 2019-04-21 14:45:13 -0600

sorry to say so, but currently, none of the ml algorithms mentioned are available from opencv.js.

you can take a look here to see, what's wrapped into js at the moment.

edit flag offensive delete link more


hi, but there i see terms like kmeans, knnmatch,setSVMDetector, train, match and etc mentioned there. If i am not wrong these are used in machine learning methods. btw, thanks for the link.

shariq_azim gravatar imageshariq_azim ( 2019-04-23 10:00:34 -0600 )edit

did you get a chance to go through it @berak?

shariq_azim gravatar imageshariq_azim ( 2019-04-30 14:52:20 -0600 )edit

what do you mean, now ? go through what ?

berak gravatar imageberak ( 2019-04-30 14:55:26 -0600 )edit

i was just curious in knowing ,that in the link that you have provided , i found some terms like "kmeans, knnmatch,setSVMDetector, train, match and etc" so wondered if we can use them in any way .Thus, maybe we can use them , dont you agree? we just have to figure out how to use them.

shariq_azim gravatar imageshariq_azim ( 2019-04-30 15:04:32 -0600 )edit

again, you can infer things (HOGDetector, dnn), but you can't train anything from js currently, sad as it is.

berak gravatar imageberak ( 2019-05-01 01:31:31 -0600 )edit

Question Tools

1 follower


Asked: 2019-04-21 13:28:55 -0600

Seen: 438 times

Last updated: Apr 21 '19