Skip to content

366Pi/tree-image-augmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Tree Image Augmentation Challenge

Background

FloCard is a sustainability-focused digital platform that combines digital identity, community engagement, climate action, and nature-based project tools. The platform supports businesses, communities, and sustainability initiatives through features such as digital business cards, sustainability profiles, carbon offsetting, project development, and tools aligned with climate and SDG goals.

FloCard also has a Tree Planters App used by communities, planters, and farms working on afforestation projects.

The app helps users digitally tag and trace trees using:

  • geo-tagged single tree images
  • Google Map based boundary tagging for clusters of trees or forest areas
  • mobile app or mobile browser based field capture
  • offline capture support for areas with low or no internet connectivity

Tree tagging usually happens in remote or low-connectivity areas. Users capture the tree image and location first. Later, when internet connectivity is available, the captured assets are synced and edited with details such as species, age, date of plantation, and related information. After review and approval, the tree record becomes a blockchain-based tree asset.

Current Tree Tagging Flow

The tree asset creation process broadly follows three steps:

  1. A user captures a tree image and geo-tag in the mobile app or mobile browser, often in offline mode.
  2. The asset is synced later and edited with details such as species, age, plantation date, and other metadata.
  3. The asset goes through an approval step before becoming a blockchain-based asset.

This process works, but it depends heavily on the quality of the image and the accuracy of manually entered tree details.

Problem Statement

During tree tagging, users may accidentally capture non-tree images, unclear tree images, or images where the tree species is difficult to identify.

Even when the image is valid, users may not always know:

  • the correct species
  • the age of the tree
  • the health or visible condition of the tree
  • whether the image is good enough for review

These details are important because tree species, age, and health are used to estimate carbon or GHG offset potential. Incorrect metadata can affect downstream reporting and asset quality.

FloCard is exploring an AI-assisted workflow where tree images captured during the tagging process can be analyzed to help identify whether the image contains a tree, estimate the species, and provide tentative age and health indicators.

To build and train such models, a large quantity of training images is needed across different tree species, ages, seasons, health conditions, locations, lighting conditions, and capture qualities. The initial focus is on tree species common in eastern India, with the possibility of expanding later.

Challenge Objective

Build a solution that can take a limited number of seed images for a tree species and generate a larger set of realistic synthetic variations using image augmentation, GAN-style, or similar model-based image variation techniques.

Expected Outcome

A useful solution should be able to:

  • accept a small set of tree seed images
  • generate many realistic image variations from those seed images
  • allow customization of variation parameters
  • preserve traceability between each generated image and its source image
  • produce metadata for every generated image
  • provide a simple way to review generated outputs
  • document the approach, assumptions, limitations, and failure cases

Customization Requirements

The solution should allow users to configure generation options such as:

  • number of images to generate
  • target species label
  • age or growth stage
  • season
  • time of day
  • lighting condition
  • weather condition
  • camera angle
  • background variation
  • leaf density
  • tree health or visible stress condition
  • blur, noise, occlusion, or image quality variations

Contributors may propose additional useful parameters.

Suggested Approach

Contributors are free to propose their own approach.

Possible approaches may include:

  • classical image augmentation
  • computer vision based transformations
  • GAN-based image generation or variation
  • style transfer
  • background replacement
  • controlled perturbation of lighting, color, blur, crop, and occlusion
  • hybrid approaches that combine multiple techniques

The solution should explain why the selected approach is suitable and what types of variation it can and cannot produce.

Suggested Stack

Preferred languages:

  • Python
  • C#

Possible libraries and tools:

  • OpenCV
  • Pillow
  • Albumentations
  • PyTorch
  • TensorFlow
  • ONNX Runtime
  • ML.NET where applicable

Contributors may use other tools if they explain the reasoning.

Data Access

Seed images are not included publicly in this repository unless they are open, synthetic, or approved for public use.

Contributors may use:

  • open-license tree images
  • contributor-created tree images
  • approved seed image packs provided by the maintainers

Contributors who need access to seed images can contact the maintainers by email. Contact [abhijeet@366pitech.com] for a sample image dataset

Do not commit private geo-tagged images, precise location data, private farm or project data, credentials, or restricted-license imagery to the repository.

Contribution Guidelines

  • Fork the repository.
  • Create a feature branch.
  • Submit your contribution through a pull request.
  • Keep the implementation focused on this challenge.
  • Do not commit private images, precise location data, credentials, or large generated datasets.
  • Include setup and running instructions.
  • Include sample output using safe, open, synthetic, or approved images.
  • Explain your assumptions and known limitations.
  • Mention any additional data you needed or data gaps you found.
  • Document how the solution can be customized and scaled.

About

A reference scenario for generating labeled tree image variations from open or synthetic base images using deterministic and configurable image augmentation techniques.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors