Ask Your Question
0

opencv used in web programming

asked 2014-02-21 08:19:20 -0500

tonyyyyyy gravatar image

Quick questions: 1. is it possible to use opencv in HTML programming?

edit retag flag offensive close merge delete

Comments

opencv comes with nice python / java wrappers already, also there's a heap of 3rd party ruby / php / node / c# wrappers (which unfortunately are mostly sparse and outdated)

but, - why not ?

berak gravatar imageberak ( 2014-02-21 09:08:50 -0500 )edit

hey Berak, Any example how to do it, for instance just add 10 + to the original image intensity? thanks

tonyyyyyy gravatar imagetonyyyyyy ( 2014-02-21 12:10:00 -0500 )edit

the answer probably won't help you(since all the context is lacking), but here we go:

Mat img;
img += Scalar::all(10);
berak gravatar imageberak ( 2014-02-21 12:32:35 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-02-21 08:47:50 -0500

Directly: no. But you can make a program in c++ and run it from php with specific parameters (the name of input image, for example uploaded from the user) and save the result as image somewhere on the server.

edit flag offensive delete link more

Comments

hey Spas, would it slow down the process? thanks

tonyyyyyy gravatar imagetonyyyyyy ( 2014-02-21 12:10:34 -0500 )edit

Send me a mail and we will discuss the problem. spas_g_hristov(at)abv.bg

Spas Hristov gravatar imageSpas Hristov ( 2014-02-24 04:43:15 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-02-21 08:19:20 -0500

Seen: 178 times

Last updated: Feb 21 '14