mirror of
https://github.com/Alexander-D-Karpov/scripts.git
synced 2024-11-28 22:33:44 +03:00
40 lines
576 B
Markdown
40 lines
576 B
Markdown
# Image scripts
|
|
several scripts for sorting and managing images
|
|
|
|
Note: highly depended on python's tkinter and pillow
|
|
### Install
|
|
```shell
|
|
# Debian
|
|
$ sudo apt-get install python3-tk
|
|
# Fedora
|
|
$ sudo dnf install python3-tkinter
|
|
# Arch
|
|
$ yay -S tk
|
|
|
|
$ pip install Pillow tk
|
|
```
|
|
|
|
## Clear
|
|
Find files with the same hash and deletes them
|
|
|
|
### Run
|
|
```shell
|
|
$ python3 clear.py
|
|
```
|
|
|
|
## Manage
|
|
Show images and moves them to folders on key press
|
|
|
|
### Run
|
|
```shell
|
|
$ python3 manage.py
|
|
```
|
|
|
|
## Classifier
|
|
Sort images into real/not real photos
|
|
|
|
### Run
|
|
```shell
|
|
$ python3 classifier.py
|
|
```
|