Added Build from Source Section in README.md

This commit is contained in:
Andreas Fahrecker 2024-03-20 17:42:18 +01:00
parent 0421520316
commit 920c637409

View File

@ -77,6 +77,24 @@ python main.py --directory path_to_your_directory
The script will iterate over all images in the directory, and for each image, it will create two new images in the "left" and "right" directories with the suffixes _left and _right added to the original file name. The script will iterate over all images in the directory, and for each image, it will create two new images in the "left" and "right" directories with the suffixes _left and _right added to the original file name.
## Build from Source
### Windows Executable
1. Clone this repository.
2. Navigate into the cloned repository.
```sh
cd image-splitter
```
3. Install the required Python packages.
```sh
pip install -r requirements.txt
```
4. Build the Executable with PyInstaller
```sh
pyinstaller --onefile --name image-splitter main.py
```
## License ## License
This project is licensed under the terms of the MIT license. This project is licensed under the terms of the MIT license.