Blur Plates and Faces in Images
Use these scripts to blur images in a local folder. The scripts require Python 3 or Docker to work. Check here for the Python installation guide.
Prerequisites​
- Blur service running and accessible at
http://localhost:8001. See the installation guide. - Python 3 installed (for the script method). Check here.
- Docker installed (for the Docker method). See the Docker installation guide.
Blur Images in a Local Folder​
- Download main.py into a folder
- Install dependencies by running this command
pip install requests==2.31.0 - Run the script:
python main.py -b=http://localhost:8001 --images=/path/to/images - For additional options, view help by running this command
python main.py --help
Running with Docker​
- Build Docker image
git clone https://github.com/parkpow/deep-license-plate-recognition.git
cd deep-license-plate-recognition/blur
docker build --tag platerecognizer/blur .
- Create and run Docker container
docker run --rm --net=host -t -v /tmp/test-images:/images platerecognizer/blur --images=/images --blur-url=http://localhost:8001