A simple script to scale an image up and overlay text. Using it to test benchmarks.
Fastest I've seen on mac book m3 pro: 20.49 milliseconds
-
Create a virtual environment:
python3 -m venv venv -
Activate the virtual environment:
- On Windows:
venv\Scripts\activate - On macOS and Linux:
source venv/bin/activate
- On Windows:
-
Install the required dependencies:
pip3 install -r requirements.txt
-
Make sure your virtual environment is activated.
-
Run the main script:
python3 main.py