This Python web application, developed during the Techhouse Mobilathon Hackathon 2021, leverages Flask and computer vision libraries to perform image segmentation on plank images, identifying and masking defects. The project, which includes this backend script, a frontend, and a machine learning model, clinched the 1st place in the technical challenge category.
Make sure you have Conda installed. If not, you can download and install it from conda.io
Install a conda enviroment with python3.8
conda create -n gutes_holz python=3.8 anaconda
Acivate the conda enviroment with
conda activate gutes_holz
Install the dependences with:
pip install -r requirements.txt
Install Segmentation-Models with:
pip install -U segmentation-models
Start Flask server with:
python App.py
Connect to the server with the browser:
localhost:8000
Here are some example outputs generated by the model:
Most of the AI training and research for this project was conducted by our talented team members: @hal3e, @MujkicA and @enizimus
Here is a GIF of the frontend written by @Salka1988:
The frontend and the ML training scripts are not included in this repository. If you are interested in exploring the frontend or the machine learning code, please feel free to contact our team members. There is a very basic frontend written by me just for testing. You can connect to it after you start the script and go to localhost:8000.
At last here is a image of the whole team that participated on the hackaton.
For more insights into the development process, check out these LinkedIn posts by @hal3e: