-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow cropping to custom area of interest before saving the images #111
Comments
@valentinitnelav |
@Gitoffthelawn , thank you for your question. We do not use any automatic triggers (motion-based ones can give a lot of false positives because the flowers can move due to wind + small insects could be missed; infrared ones do not work for insects because insects do not emit heat). So, we set the OpenCamera app to take time-lapse images using the "Repeat mode interval" set at "1 s" & "Unlimited" "Repeat" mode (in Settings wheel). We let the app run for 1 hour and then stop it by touching the camera shutter button and we move to the next flower. We also fix the focus from the start, no flash, and a resolution of 1600 x 1200 (we would also want to have the option for a square frame like 1280 x 1280 to use the images later for YOLOv5 for example). The phones are fixed on tripods and connected to a power bank. It works well for several hours in field conditions. When it is too sunny, then the phones tend to overheat and get really slow or shut down, but we'll work on building a white protective casing. Below is a print screen with the current settings that we use: Face detection = off; Would be extremely helpful for our research project to be able to define on the screen an area of interest (square or not) from the very start when we set the phone on top of a flower. Right now we have to be too close to the flowers and we think that we scare the insects. If we are too far, then we get too much background noise (the flower occupies only a small portion of the image area and therefore also the insects will be small - this is very problematic for object detection pipelines and also for us to identify the insects). We are currently in the process of documenting our past work and publishing a scientific article in a peer-reviewed journal. We find the OpenCamera app really helpful and it will be part of our citations with the hope that others in the domain of pollination ecology will use it. |
Thank you for developing this app. We use it for research purposes, installed on Android phones placed on top of flowers to record time-lapse images (possibly videos as well) of any visiting insect. One major improvement would be to be able to set a region of interest (ROI) that contains the target objects (like a square buffer around a target flower). This ROI should be of rectangular shape (a square or a rectangle), and it can be adjusted to custom sizes on the screen of the phone. The recorded images or videos must be cropped with this ROI and only then saved.
Would it be possible to implement this feature, or if not, do you know of any other app that can take time-lapse images and allows for defining a ROI?
Most probably the ROI will be square or nearly square because we use the images as a training dataset for a deep learning pipeline.
This issue is a bit related to #43
The text was updated successfully, but these errors were encountered: