Let AI transform your images
Installation: (run both client & server simultaneously)
# Install dependencies
# Start dev server
npm run serve
IMPORTANT: Download the model file on this link and put it in the server directory before doing the following.
# Install dependencies (using Pipenv)
sudo pipenv install --skip-lock
# Start server with a category to detect
python main.py <category>
python main.py person
You can start the server with one of these categories as arguments to detect them in your image.
- For some weird reason, you have to restart the server in order to transform another image. If you don't, you'll get the first image as output. I didn't have time to figure out why that happens.
- You can't combine two categories.
- By default, only the largest object will be detected.