tags:

views:

15

answers:

1

Is there a way to parse image data in a php variable to an opencv function?

I want to do this without writing image to the hard disk using php and then reading it back to feed OpenCV function.

This is related to this question

A: 
$image = file_get_contents('path/to/image.jpg');

$image has your image send it where you want

Arsheep
I'm sorry I want to "parse" $image variable data to an OpenCV function.(I'll correct the question)
Niroshan