Manual Paparazzi
Added by sim marcus 10 months ago
Hi i am a newbie for CMU CAM 4. For the sample codes, there is a munual paparazzi. How do i capture the image, which is the button that i should press on( USER/RESET). I am guessing its the user button. And also where will the image be saved after i had capture the image.
Please help me.
Thank you,
Marcus
Replies (6)
RE: Manual Paparazzi - Added by sim marcus 10 months ago
Nvm, i manage to get the picture with both the auto and manual paparazzi
RE: Manual Paparazzi - Added by Kwabena Agyeman 10 months ago
The CMUcam4 is a black box sensor device that you control with the Arduino. The USER button doesn't do anything internally in the CMUCam4. The Arduino polls the CMUcam4 to see what it's state is and then tells the CMUcam4 to do something. That's what the code in the ManualPaparazzi is doing.
Thanks,
RE: Manual Paparazzi - Added by sim marcus 10 months ago
For the CMU CAM 4, it did work yesterday, I tried changing the tolerance level from 30 to 0 and build it to arduino uno and combine with CMU CAM 4. It does not work, my SD card do not have any image saved inside when i used either the manual or auto paparazzi.
Can anyone tell me why did it happen?
RE: Manual Paparazzi - Added by Kwabena Agyeman 10 months ago
So, you'll need to give me some more information about what's going on for me to help you.
Did you see the LED flashing on the CMUcam4? Was the LED blinking slowly or quickly? If you look at the example code you'll notice that the example code changes the LED's blinking speed depending on what point the program is in the code. If the LED was just blinking on and off again at about 0.5 HZ then there is some problem with the connection between the CMUcam4 and the Arduino. There's a big flashy warning about this problem on the forum thread where you downloaded the interface library from.
There could be a problem with your SD card also. When using the manual paparazzi program after pressing the user button, does the camera light blink fast for about 5 seconds, and then blink faster for about 20 seconds when taking a picture? If it doesn't blink faster for 20 seconds, then the CMUcam4 may have a problem with the uSD card.
Since you got it working before I don't think this is the case.
Please let me know the story,
Thanks,
RE: Manual Paparazzi - Added by sim marcus 10 months ago
Hey bro i got it working already... It is due to me not getting the CMU CAM 4 and uno board connected fully.
Btw just asking you, can CMU CAM 4 do video with better resolution?
I am doing UAV, intermashing UAV. Do you think if i add a external camera like "Serial JPEG Camera Module - TTL" will enable me to have a better vision as my task for the UAV is to track humans and surveillance.
To add on, do you have any links to show me how to reprogramme the CMU CAM 4 with propeller tool together with arduino. I really need some of ur help.I am really a newbie in this area and know nuts but willing to learn.
Thank you.
RE: Manual Paparazzi - Added by Kwabena Agyeman 10 months ago
Hi Sim,
Did you look at my response to your other post? You don't need higher resolution vision processing - 160x120 is fine. It doesn't buy you anything if your just looking for color blobs All it gives you is more detail in the image. So, do you want a larger field of view? The CMUcam4 has a limited field of view of 25 degrees. Unfortunately we don't have a solution to change that for you.
The serial JPEG TTL camera just takes pictures. It does no vision processing. So, if you want to use that module to take a picture when some event occurs, then it will be good for that. However, it doesn't save the data automatically to a SD card for you so you'll have to have a processor handle saving the TTL serial data and then processing it. This takes a lot of CPU power.
The CMUcam4 will be able to preform the image color tracking for you. If you aren't interested in color tracking and you want to do general purpose face tracking and such then you'll want to buy a beagle board and a standard webcam and get OpenCV running with a full blown professional image processing setup. The learning curve for this is much higher than with the CMUcam4.
You do not need to reprogram the CMUcam4. It is designed to be used as a black box device and connected to the Arduino using the Arduino Interface Library. All you need to do is use your Arduino to control the CMUcam4.
We released the CMUcam4 source code and make the device programmable for firmware updates and for power users who want to tweak a feature. The CMUcam4 source code is not beginner friendly and is very complicated. I do not think you need to edit the firmware for your CMUcam4 or anything else of that nature. Instead, you just have to reprogram your Arduino to control the CMUcam4 using the interface library. That is all.
Anyway, I'll answer any questions you have about the CMUcam4. :)
Thanks,
(1-6/6)