This ReactJS application is part of the "Radiance Of The Smile" Organization, which employs a complete deep learning approach for image analysis. It allows users to upload an image for analysis, preprocess it using a deep learning model, and view the processed image along with detected anomalies.
my-react-app/
├── src/
│ ├── components/
│ └── containers/
├── public/
│ ├── index.html
│ └── ...
├── package.json
├── package-lock.json
├── .gitignore
├── README.md
├── component_tree_structure.png
└── ...
To run this application locally, follow these steps:
- Clone the repository:
git clone https://github.com/Radiance-Of-The-Smile/frontend.git
- Navigate to the project directory:
cd frontend
- Install dependencies:
npm install
- Start the development server:
npm start
- Open your browser and visit
http://localhost:3000
- Click on the "Choose Image" button to select an image for analysis.
- Click on the "Get Analysis" button to upload the selected image and receive the processed image and detected anomalies.
- Optionally, click on the "Download Analysis" button to download the processed image.
- Click on the "Remove Analysis" button to remove the processed image and anomalies.
PS: These buttons appear dynamically so don't worry if you don't find all 4 of these together!
This application uses the following dependencies:
- React: Frontend JavaScript library for building user interfaces.
- axios: HTTP client for making API requests.
- FormData: API for creating form data objects to send with HTTP requests.
- react-router react-router-dom: Routes for Dashboard and About page.
- Developed by Muhammad Ibrahim, Hassan Mahmood, and Hafiz Uzair Warsi.
- Special thanks to our supervisor Mr. Hamad Ul Qudous.