OpenCV

We’re trying to detect a green laser and having problems. One problem is that the laser is so goddamn bright that it is saturating the camera. Maybe that be nice except that the ligthbulbs in the background are doing that too.

Some useful little mini programs:

Capture and image and save it.

 

This let’s us poke around on an image and print out the data corresponding to a point.

The HSV decomposotion from the tutorials is ok, but  not cutting the mustard.

Maybe something more autocorrelationy?

So I get the python side, and I was giving the C side a go.

Apparently the recommended way is to use Cmake to make your projects. I don’t like it.

http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.html#linux-gcc-usage

Kind of fell off the bandwagon on this one. Would be better to actually get something working in python before going onto this.

 

Leave a Reply

Your email address will not be published. Required fields are marked *