Closed rmsalinas closed 10 years ago
I apologize for the latency of my response here, but I have been swamped with school tasks. I tested with both BMP and JPEG and I did find the first image was (sometimes) noticeably darker, but only with JPEG was the final images black. With BMP it worked just fine, or at least with what I got. I do not have any guesses as to why the JPEG error happened yet, but I'll try to work on it more this weekend.
Confirm jpg are really darkest.
HI, I have tested with Bmp and images are better. I am testing in a dark room, and only illuminated objects are visible. So I have tried to play a bit with iso. However, no mattern the value I set, it has no effect on the images captured. It is like if the iso value were ignored.
I have added command line options to the main program to allow user play with params.
Pretty sure I figured out one of the issues: first image darker, but it requires testing (which I am unable to do at the moment due to hardware issues). I am pretty sure the delay before a capture while the camera is on is the key, for instance in the Raspi* applications they had a timeout/delay before taking the image.
Hi Josh,
I've been testing your changes. Good idea to add take_picture!
Nevertheless, I can not get good results when capturing. When I run the test, the first image obtained is very dark. However, the rest of the images are completely black. I've check that it is not because take_picture, it is always the first image very dark, and the rest in black. (No matter if I use BMP or JPEG, get the same result). I've been playing around with iso, brightness and exposure values, but I did not succeed. When I try with raspistill, the images are ok. I have put the images for you to check at https://dl.dropboxusercontent.com/u/89571862/images.zip
Cheers, Rafa