Basically, you have to think about how to split the data (for pictures this can be for instance 8x8 matrices) and use spark to distribute it to different workers which themselves call opencv with the data. Afterwards you need to combine all results again. It really depends on your image / video domain how you do this, so I can give you only general instructions.
I was thinking about if it could be possible to use apache spark, and opencv in order to recognize stellar objects from the data set provided by Nasa,Esa, and the others space agencies. I am asking about advice or feelings about it, nor example codes or something else, but if there were any, please provide.Thanks again and forgive the possible off topic.AlonsoAlonso Isidoro Roman.
Mis citas preferidas (de hoy) :
"Si depurar es el proceso de quitar los errores de software, entonces programar debe ser el proceso de introducirlos..."
- Edsger Dijkstra
My favorite quotes (today):
"If debugging is the process of removing software bugs, then programming must be the process of putting ..."
- Edsger Dijkstra"If you pay peanuts you get monkeys"2015-01-14 10:49 GMT+01:00 Akhil Das <email@example.com>:Here's an example for detecting the face https://github.com/openreserach/bin2seq/blob/master/src/test/java/com/openresearchinc/hadoop/test/SparkTest.java#L190 you might find it useful.ThanksBest RegardsOn Wed, Jan 14, 2015 at 3:06 PM, <firstname.lastname@example.org> wrote:
Thanks for the response
Our use case is Object detection in multiple videos. It’s kind of searching an image if present in the video by matching the image with all the frames of the video. I am able to do it in normal java code using OpenCV lib now but I don’t think it is scalable to an extend we could implement it for thousands of large sized videos. So I thought we could leverage distributed computing and performance of spark If possible.
I could see Jaonary Rabarisoa has tried to use OpenCV with spark http://apache-spark-user-list.1001560.n3.nabble.com/Getting-started-using-spark-for-computer-vision-and-video-analytics-td1551.html. But I don’t have any code reference on how to do it with OpenCV.
In case any Image+Video processing library works better with Spark plz let me know. Any help would be really appreciated.
Thanks & Regards
Jishnu Menath Prathap
From: Akhil Das [mailto:email@example.com]
Sent: Wednesday, January 14, 2015 12:35 PM
To: Jishnu Menath Prathap (WT01 - BAS)
Subject: Re: How to integrate Spark with OpenCV?
I ddn't played with OpenCV yet, but i was just wondering about your use-case. What exactly are you trying to do?
Jishnu Prathap <firstname.lastname@example.org> wrote:
Hi, Can somone suggest any Video+image processing library which works well with spark. Currently i am trying to integrate OpenCV with Spark. I am relatively new to both spark and OpenCV It would really help me if someone could share some sample code how to use Mat ,IplImage and spark rdd 's together .Any help would be really appreciated. Thanks in Advance!!