How jessvilla1975/agrovisionapi works
AgroVision is a web workspace for drone orthomosaic processing, with additional project preprocessing, model detection, custom training and model-review capabilities. The main user journey is to select a project, upload imagery or an orthophoto, process or analyze it, monitor progress, then inspect and download results. The graph combines documented workflows with relationships visible in the sampled frontend imports and service excerpts. Many backend routes and orchestration modules were not sampled, so those connections are omitted or marked unverified rather than inferred.
Main entry points: App.jsx Application shell · CustomTrainingService.js Training service · ModelResultsView.jsx Model results · useWorkspaceSession.js Workspace session
Components 30
Workspace and projects
- Application shell
client/src/App.jsx - Workspace session
client/src/app/useWorkspaceSession.js - Project workspace
client/src/features/projects/components/ProjectsView.jsx - Project API
client/src/features/projects/api/projectApi.js - Dashboard
client/src/features/dashboard/components/Dashboard.jsx - Project selector
client/src/features/projects/components/ProjectSidebar.jsx - HTTP client
client/src/shared/http/client.js - API configuration
client/src/shared/config/api.js - Image lightbox
client/src/shared/ui/ImageLightbox.jsx
Photogrammetry and preprocessing
- Preprocessing panel
client/src/features/preprocessing/components/PreprocessPanel.jsx - Preprocessing view
client/src/features/preprocessing/components/PreprocessingView.jsx - Photogrammetry controls
client/src/features/photogrammetry/ProcessControl.jsx - Orthophoto map
client/src/shared/ui/OrthophotoPlane.jsx
Detection and analysis
- Detection workspace
client/src/features/detection/components/DetectionView.jsx - Model detection
client/src/features/detection/components/ModelDetectionPanel.jsx
Training and model results
- Custom training
client/src/features/customTraining/components/CustomTrainingView.jsx - Model results
client/src/features/modelResults/components/ModelResultsView.jsx - Prediction review
client/src/features/modelResults/components/ReviewGallery.jsx - Training progress
client/src/features/modelResults/components/TrainingProgressView.jsx - Model results API
client/src/features/modelResults/api/modelResultsApi.js - Metrics chart
client/src/shared/ui/LineChart.jsx
Backend services
- Training configuration
server/src/domain/customTraining/CustomTrainingConfig.js - Training service
server/src/infrastructure/customTraining/CustomTrainingService.js - Dataset inspection
server/src/infrastructure/customTraining/RoboflowDataset.js - Python runtime
server/src/infrastructure/python/PythonRuntime.js - ODM processing
server/src/application/odm/OdmUseCases.js
Other components
- Workspace user
- PostgreSQL
- ODM container
- Mapbox
Connections 32
- Workspace user → Application shell: uses
README.md - Application shell → Workspace session: manages
client/src/App.jsx - Application shell → Dashboard: renders
client/src/App.jsx - Application shell → Project workspace: renders
client/src/App.jsx - Application shell → Preprocessing view: renders
client/src/App.jsx - Application shell → Detection workspace: renders
client/src/App.jsx - Application shell → Custom training: renders
client/src/App.jsx - Application shell → Model results: renders
client/src/App.jsx - Application shell → Training progress: renders
client/src/App.jsx - Workspace session → Project API: requests project data
client/src/app/useWorkspaceSession.js - Workspace session → Project selector: selects project
- Project workspace → Project selector: shows selector
client/src/features/projects/components/ProjectsView.jsx - Project workspace → Orthophoto map: shows map
client/src/features/projects/components/ProjectsView.jsx - Preprocessing view → Preprocessing panel: renders
client/src/features/preprocessing/components/PreprocessingView.jsx - Workspace user → Photogrammetry controls: starts processing
README.md - Photogrammetry controls → ODM container: runs processing
- Workspace user → Mapbox: views photo locations
README.md - Detection workspace → Model detection: renders
client/src/features/detection/components/DetectionView.jsx - Custom training → Training service: submits training
- Training service → Training configuration: normalizes settings
server/src/infrastructure/customTraining/CustomTrainingService.js - Training service → Dataset inspection: inspects dataset
server/src/infrastructure/customTraining/CustomTrainingService.js - Training service → Python runtime: spawns trainer
server/src/infrastructure/customTraining/CustomTrainingService.js - Model results → Prediction review: renders
client/src/features/modelResults/components/ModelResultsView.jsx - Model results → Model results API: loads results
client/src/features/modelResults/components/ModelResultsView.jsx - Training progress → Model results API: loads progress
client/src/features/modelResults/components/TrainingProgressView.jsx - Prediction review → Image lightbox: opens images
client/src/features/modelResults/components/ReviewGallery.jsx - Model results → Metrics chart: charts metrics
client/src/features/modelResults/components/ModelResultsView.jsx - Model results API → HTTP client: sends requests
client/src/features/modelResults/api/modelResultsApi.js - HTTP client → API configuration: builds API URLs
client/src/shared/http/client.js - Photogrammetry controls → ODM processing: requests processing
- ODM processing → ODM container: runs container
- Training service → PostgreSQL: uses account storage