This system works with two pictures – a 'before' and an 'after.' Both pictures need to be the same size for the system to do its magic. The backend, powered by OpenCV in Python, analyzes these images and uploads the results to Firebase. The frontend, built with ReactJS, showcases the processed images.
Check out the live demo (https://ccc-imageproccessing.netlify.app/).
Ensure you have Python and the required dependencies installed.
-
Clone the repository:
git clone [https://github.com/AbdinasirM/ImageProcessingApp.git]
-
Navigate to the backend folder:
cd backend -
Install backend dependencies:
pip install -r requirements.txt
-
Navigate to the frontend folder:
cd frontend -
Install frontend dependencies:
npm install
-
Prepare two images – a 'before' and an 'after,' ensuring they are the same size.
-
Run the backend:
cd backend uvicorn main:app --reload -
The backend will analyze the images and upload the results to Firebase.
-
Run the frontend:
cd frontend npm run dev -
Access the frontend at http://localhost:8000 to view the processed images.
- Python
- OpenCV
- Firebase
- ReactJS