Skip to content

Image Processing

Joe Pearson edited this page Apr 16, 2023 · 5 revisions

Introduction to Image Processing

Images should be close-up, well-lit, cropped, in focus, and sized 320 by 240 in landscape orientation. They should be stored in a folder that identifies the plant species and variant. All commits/contributions should be signed-off so that there is an attestation of provenance and an assurance that the image is being contributed to this effort for the stated purpose.

Image Capture

Image Ownership and Provenance

Image Preparation

  1. Install [exiftool](https://exiftool.org/)
  2. Change aspect ratio of images to landscape
  3. Resize images (cropping if needed) to 320x240 pixels at 72 pixels per inch
  4. Strip any PII. Example, strip geolocation info by running exiftool -geotag= *.jpg
  5. Add and commit images: git add . and git commit -s -m "Issue-##: Adding images for <plant name here>"
  6. For now, add to this Box folder in an appropriately-named directory.

Image Labelling

Here's Seeed's process for training on image data sets.