- Download Node.js in conda environment with this command:
conda install -c conda-forge nodejs
- Check node and npm versions to make sure you have Node.js installed:
node -v
npm -v
- Download Cropper.js:
npm install cropperjs
- Download the pretrained BASNet model from this link and put it in webapp/models/BASNetMaster/saved_models/basnet_bsi
- After you installed Cropper.js, please move the "cropperjs" folder (not the one in node_modules) to static folder
- Go to webapp/start.py and run the Python file
- Click the localhost link
- Choose your image that you want to compare the cropped image too
- Crop the image from your webcam and click generate to view result