# Agri-Technology Africa — AI Agricultural Analysis v2
A working Node.js agricultural AI analysis application for drone/field images.
## What it does
- Upload RGB drone images or crop/leaf photos
- AI crop-health assessment
- Visible stress/anomaly detection
- Possible disease/pest indicators
- Ground-check recommendations
- Priority level
- Structured agricultural report
- Analysis history
- JSON report download
- Server-side OpenAI API key protection
## Install
Requirements: Node.js 18+.
1. Extract this ZIP.
2. Open a terminal in the project folder.
3. Run `npm install`.
4. Copy `.env.example` to `.env`.
5. Put your OpenAI API key in `.env`.
6. Run `npm start`.
7. Open
localhost
The application uses the OpenAI Responses API and sends the uploaded image as an image input.
## Important
This is an agricultural decision-support and early-warning system. It must not be treated as a definitive laboratory disease diagnosis. Confirm important findings through field inspection, agronomist review, and appropriate local guidance. The application intentionally avoids giving pesticide dosage/mixing instructions.
## Regular AI Analysis PDF
Completed regular agricultural AI analyses can be downloaded as professional PDF reports from the **Download Professional PDF Report** button. The PDF is generated server-side from the stored analysis, includes the Agri-Technology Africa logo as a light watermark, and contains summary, observations, possible causes, disease early warning, verification steps, and safety disclaimer.