Skip to content

FloCard Tree Augmentation Solution with GAN Pipeline#1

Open
ayushbariyar wants to merge 3 commits into
366Pi:mainfrom
ayushbariyar:flocard-augmentation-solution
Open

FloCard Tree Augmentation Solution with GAN Pipeline#1
ayushbariyar wants to merge 3 commits into
366Pi:mainfrom
ayushbariyar:flocard-augmentation-solution

Conversation

@ayushbariyar
Copy link
Copy Markdown

Approach

Used a hybrid approach combining classical augmentation (Pillow)
and DCGAN (PyTorch) to generate 1355+ image variations from 5 seed images.

What is implemented

  • 13 augmentation types: brightness, blur, rotation, crop, contrast,
    rain, fog, color temperature, occlusion, season, time of day,
    health conditions, noise, motion blur
  • DCGAN trained for 200 epochs — generates brand new tree images
  • Full metadata tracking in manifest.jsonl (12 fields per image)
  • Visual HTML gallery with filter buttons
  • Dataset export as ZIP
  • 43 automated tests — all passing

How to run

pip install Pillow torch torchvision
python augment.py
python gallery.py
python gan_train.py
python gan_generate.py
python test_pipeline.py

Assumptions and limitations

  • Trained on 5 seed images — more images would improve GAN quality
  • Weather overlays are simulated not photorealistic
  • CPU training only — GPU would be faster

Data used

  • Real seed images provided by FloCard team
  • No private geo-tagged data committed

Removed license section and added scaling notes.
Updated README to enhance clarity and detail about the Tree Image Augmentation Pipeline, including project overview, structure, and usage instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant