Hello NG,
I'm new in this NG and pretty new to haskell too, so hi to everyone.
I am converting some of my image-processing routines from C to haskell,
as I found it faster to experiment like this.
First of all, I found a lot of libraries that do part of the stuff I need; what
I figured out is that the way to go is REPA.
Second, while working, I would have liked to have something like this:
(
http://disciple-devel.blogspot.de/2011/03/real-time-edge-detection-in-haskell.html)
so, as I work on linux, I just took some v4l2 / glut libraries too, and started
trying them.
Now, I'm quite puzzled; I thought that would be pretty easy, but I see that
there will be a lot of type conversions happening all around, and maybe it's
not the right way to go.
How would you do this?
In the end I just want to have a program that, looping, just:
- grab a frame
- apply a trasformation
- output it on a window
in the fastest possible way (I don't ask for 60fps, just for an acceptable
speed for identity trasformations in the second step).
Any suggestions?
Ciao!