Compare commits

3 Commits

Author SHA1 Message Date
cc786484d7 Improved and Updated README.md 2024-03-20 07:07:58 +01:00
a74be96f47 split image function 2024-03-20 06:55:39 +01:00
55583b3afc Check if image is already split 2024-03-20 06:47:36 +01:00

View File

@ -29,11 +29,6 @@ The "left" directory contains the left half of the original image, and the "righ
## Installation ## Installation
### For Usage as a Windows Executable
You can either download a prebuilt executable from the releases section of the repository, or you can build it yourself the building instructions are further down the `README.md`
### For Usage as a Python Script
1. Clone this repository. 1. Clone this repository.
2. Install the required Python packages using pip: 2. Install the required Python packages using pip:
@ -77,24 +72,6 @@ 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.