How kotaharsha25/wilddiscover works
WildDiscover is a React Native app for identifying plants, animals, and landmarks from captured or uploaded images, then presenting details and Wikipedia links. Users choose a category, provide an image, and receive a category-specific result. The category screens invoke a detection router that selects PlantNet, Google Vision, or fauna-specific identification paths; those integrations enrich results with Wikipedia data. The excerpts show the main routing and several provider calls, but not all provider implementation details or the Home screen’s navigation code.
Main entry points: detectionAPI.js Detection router · App.js App navigation · HomeScreen.js Home screen · wikipediaAPI.js Wikipedia enrichment
Components 18
App experience
- App navigation
App.js - Home screen
screens/HomeScreen.js - Flora screen
screens/FloraScreen.js - Fauna screen
screens/FaunaScreen.js - Landmark screen
screens/LandmarkScreen.js - Result display
screens/ResultScreen.js
Detection routing
- Detection router
api/detectionAPI.js
Identification providers
- PlantNet integration
api/plantNetAPI.js - Animal identification
api/animalAPI.js - Google Vision integration
api/googleVisionAPI.js - Pollinations integration
api/pollinationsAPI.js
Information enrichment
- Wikipedia enrichment
api/wikipediaAPI.js
Other components
- App user
- PlantNet API
- API Ninjas
- Google Vision API
- Pollinations.ai
- Wikipedia API
Connections 29
- App user → Home screen: chooses category
README.md - App navigation → Home screen: registers screen
App.js - App navigation → Flora screen: registers screen
App.js - App navigation → Fauna screen: registers screen
App.js - App navigation → Landmark screen: registers screen
App.js - App navigation → Result display: registers screen
App.js - Home screen → Flora screen: navigates to
README.md - Home screen → Fauna screen: navigates to
README.md - Home screen → Landmark screen: navigates to
README.md - Flora screen → Detection router: submits image
screens/FloraScreen.js - Fauna screen → Detection router: submits image
screens/FaunaScreen.js - Landmark screen → Detection router: submits image
screens/LandmarkScreen.js - Flora screen → Result display: navigates with result
screens/FloraScreen.js - Fauna screen → Result display: navigates with result
screens/FaunaScreen.js - Landmark screen → Result display: navigates with result
screens/LandmarkScreen.js - Detection router → PlantNet integration: routes flora
api/detectionAPI.js - Detection router → Google Vision integration: routes landmarks
api/detectionAPI.js - Detection router → Google Vision integration: checks fauna labels
api/detectionAPI.js - Detection router → Pollinations integration: routes birds and insects
api/detectionAPI.js - Detection router → Animal identification: routes other fauna
api/detectionAPI.js - PlantNet integration → PlantNet API: sends image
api/plantNetAPI.js - Google Vision integration → Google Vision API: sends image
api/googleVisionAPI.js - Animal identification → API Ninjas: requests animal details
api/animalAPI.js - Pollinations integration → Pollinations.ai: sends image
api/pollinationsAPI.js - PlantNet integration → Wikipedia enrichment: enriches plant result
api/plantNetAPI.js - Google Vision integration → Wikipedia enrichment: enriches detection
api/googleVisionAPI.js - Animal identification → Wikipedia enrichment: enriches animal result
api/animalAPI.js - Pollinations integration → Wikipedia enrichment: enriches identification
api/pollinationsAPI.js - Wikipedia enrichment → Wikipedia API: fetches summary
api/wikipediaAPI.js