Ask Your Question

aalban3's profile - activity

2014-03-30 20:49:08 -0600 asked a question IMREAD Not working with windows form

I wanna do what I believe should be simple, but it's giving me a headache. I have a windows form that takes a picture from an external camera. The process works like this:

  • Click button on form
  • Send command camera to take JPEG image.
  • Load JPEG using IMREAD
  • Do some face detection
  • Save to new JPEG with face detection rectangle around face
  • Display pic on windows form

This works perfectly if I only do it ONCE. So let's say I try to take another pic, It won't work. Though the JPEG from the camera has been replaced by a new picture, it will not read it and therefore it will not update the new file. Any idea why this may be happening? any suggestions?

2014-02-14 11:34:48 -0600 asked a question OpenCV read from serial port

I have a camera that takes JPEG images with a software. I was wondering if i can do this with OpenCV instead. I need to input this video into openCV. i have code to do motion detection but i have done it with my webcam so far. Are there DLLs I need to get? i dont think this camera has any specific libraries for this though. Any idea how to do this? I'm using visual studio btw