Ask Your Question
0

opencv used in web programming

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

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 -0600 )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 -0600 )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 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

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

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 -0600 )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 -0600 )edit

Question Tools

Stats

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

Seen: 274 times

Last updated: Feb 21 '14