Biosensor analysis app by CPU student to quantify pesticide concentration by analyzing the brightness of a sample image of our biosensor. Users can calibrate standard curves, analyze samples, and view historical data ^^ ~
- Frontend: React, Vite, TypeScript
- State Management: Zustand
- Charting: Recharts
! Follow these instructions to set up and run the project locally !
Make sure you have Node.js installed!!!
-
Clone the repository:
git clone https://github.com/e-muzi/biosensor-apptesting.git cd biosensor-apptesting -
Install dependencies: This command will install all the necessary packages defined in
package.json~npm install
-
Run the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:5173(the port may be different, check your terminal output!!!)
- Calibrate (Optional): The standard curve of pesticides are currently hard coded in "pesticideStore.ts".
- Capture/Upload: Navigate to the 'Capture' to either take a photo with your device's camera or upload an existing image file.
- Analyze: After uploading, you will be prompted to select a Region of Interest (ROI) on the image.
- View Results: The app will display the calculated brightness and the corresponding pesticide concentration. This result is automatically saved to your history.
- Check History: Go to 'History' to see a list of all your past analyses. You may clear all history data in 'Settings' function also.
UPDATE: Users can now access our app directly! https://e-muzi.netlify.app/