Ask Your Question
0

opencv used in web programming

asked Feb 21 '14

tonyyyyyy gravatar image

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

Preview: (hide)

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 (Feb 21 '14)edit

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

tonyyyyyy gravatar imagetonyyyyyy (Feb 21 '14)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 (Feb 21 '14)edit

1 answer

Sort by » oldest newest most voted
0

answered Feb 21 '14

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.

Preview: (hide)

Comments

hey Spas, would it slow down the process? thanks

tonyyyyyy gravatar imagetonyyyyyy (Feb 21 '14)edit

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

Spas Hristov gravatar imageSpas Hristov (Feb 24 '14)edit

Question Tools

Stats

Asked: Feb 21 '14

Seen: 300 times

Last updated: Feb 21 '14