Skip to content

feat: FastAPI (#9) + edge-detection vision stub (#5) + catalog (#2) - #400

Open
laurentketterle-hub wants to merge 1 commit into
mergeos-bounties:masterfrom
laurentketterle-hub:feat/bounty-9-5-2
Open

feat: FastAPI (#9) + edge-detection vision stub (#5) + catalog (#2)#400
laurentketterle-hub wants to merge 1 commit into
mergeos-bounties:masterfrom
laurentketterle-hub:feat/bounty-9-5-2

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

Changes

#9 - FastAPI: POST /identify and GET /species/{id}/care

  • FastAPI app with full REST API surface
  • POST /api/identify - identify plant from tags or uploaded photo
  • GET /api/species/{species_id}/care - full care card with optional season watering hint
  • GET /api/species - paginated catalog listing
  • GET /api/species/search?q= - search by id, name, tags
  • GET /api/species/{species_id} - get full species record
  • POST /api/vision/extract - extract visual tags from leaf photo
  • Run with: python -m plantguide.api

#5 - Vision stub: extract color/edge tags

  • Added extract_edge_tags() with Sobel-like gradient magnitude
  • Detects serrated, smooth, lobed, compound, elongated, lanceolate edges
  • Added extract_all_visual_tags() combining color + edge heuristics

#2 - Houseplant catalog

  • Catalog already contains 160+ species with complete care cards

Closes #2
Closes #5
Closes #9

…cies/{id}/care) + mergeos-bounties#5 (edge detection vision stub) + mergeos-bounties#2 (catalog at 160 species)

- Added FastAPI app with POST /api/identify (tags or image upload)
- Added GET /api/species/{species_id}/care with optional season watering hint
- Added GET /api/species (paginated catalog), GET /api/species/search, GET /api/species/{id}
- Added POST /api/vision/extract for leaf color/edge visual tag extraction
- Enhanced vision stub with extract_edge_tags() for Sobel-like gradient detection
- Added extract_all_visual_tags() combining color and edge heuristics
- Catalog already contains 160+ species with care cards (mergeos-bounties#2 satisfied)
- Added __main__.py for running with python -m plantguide.api

Closes mergeos-bounties#9
Closes mergeos-bounties#5
Closes mergeos-bounties#2
@laurentketterle-hub

Copy link
Copy Markdown
Author

🔄 CI Approval Needed

FastAPI + edge-detection vision stub + catalog — high-value combined PR.

Please approve workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants