OpenAgricultureFoundation / openag-device-software

Software for running controlled grow environments on Linux / OSX machines and embedded linux devices such as Beaglebones and Raspberry Pis.
GNU General Public License v3.0
193 stars 50 forks source link

Make camera capture more robust #102

Closed jakerye closed 5 years ago

jakerye commented 6 years ago
rbaynes commented 6 years ago

In iot/iot_manager.py I already check if the image is < 40KB where I check if it is done being written (and available to be published). If < 40KB, I just delete the file.

Thanks, Rob Baynes pronouns: he / him / his

On Wed, Sep 5, 2018 at 2:32 PM, Jake Rye notifications@github.com wrote:

  • Improve resolution
  • Check for bad images by file size and retake on failures

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenAgInitiative/openag-device-software/issues/102, or mute the thread https://github.com/notifications/unsubscribe-auth/AK6m7zBSFXAPnlysp1TajwUo-QOL1NY5ks5uYBjHgaJpZM4Wbdc7 .

jakerye commented 6 years ago

Gotcha, will use for reference when writing the image capture retry stuff. Thanks!

rbaynes commented 6 years ago

The "truth" for a bad image is somewhere between 40 and 70K. Not sure where to set that bar.

Thanks, Rob Baynes pronouns: he / him / his

On Wed, Sep 5, 2018 at 2:42 PM, Jake Rye notifications@github.com wrote:

Gotcha, will use for reference when writing the image capture retry stuff. Thanks!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/OpenAgInitiative/openag-device-software/issues/102#issuecomment-418837415, or mute the thread https://github.com/notifications/unsubscribe-auth/AK6m726Xi-Q74VJBzJzJ5Zc2VSntV4Fzks5uYBsCgaJpZM4Wbdc7 .

jakerye commented 6 years ago

progress in 35f1471203d65ccead49629576f8df31d89ba83d

rbaynes commented 5 years ago

Jake did this, it is working very well now.