Ask Your Question
0

opencv.js vs opencv4nodejs

asked 2019-03-28 13:00:06 -0600

shariq_azim gravatar image

hi, can some one tell me what is the difference between opencv.js and opencv4nodejs .

Btw, if we want to run opencv.js as an external javascript file in the browser , do we need to install any thing else? or can we download the javascript files and just do require/import and point to the source. If this is possible, please point to the correct repository. please note, that the opencv files would be hosted online in some database.

Further ,If the above is true then can do the same, within nodejs locally? that means doing require('.\opencv')/require('.\opencv4nodejs') to call and execute the functions .

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-03-29 02:17:13 -0600

berak gravatar image

opencv does not maintain any node.js bindings, so we can't help much with that.

can we download the javascript files

yes. you can use the nightly builds from http://docs.opencv.org/master/opencv.js and http://docs.opencv.org/master/utils.js

edit flag offensive delete link more

Comments

thanks for your answers. can you kindly clarify this too?

"Further ,If the above is true then can do the same, within nodejs locally? that means doing require('.\opencv')/require('.\opencv4nodejs') to call and execute the functions . "

shariq_azim gravatar imageshariq_azim ( 2019-03-29 11:53:32 -0600 )edit

sorry, but you're asking about opencv4node again, and i can't help.

berak gravatar imageberak ( 2019-03-29 12:26:48 -0600 )edit

no no , i mean if just asking if we import the opencv.js in nodejs as an external file without compiling , will it work?

shariq_azim gravatar imageshariq_azim ( 2019-03-30 12:47:49 -0600 )edit

it's minimized, but runnable, so yes.

berak gravatar imageberak ( 2019-03-30 13:13:55 -0600 )edit

thanks..ill update you if i achieve something :)

shariq_azim gravatar imageshariq_azim ( 2019-03-30 13:48:36 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-03-28 13:00:06 -0600

Seen: 1,914 times

Last updated: Mar 29 '19