Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tikene/imgur-download-crop-censor
Can download, crop and censor Imgur albums
https://github.com/tikene/imgur-download-crop-censor
censor crop download imgur instagram
Last synced: 26 days ago
JSON representation
Can download, crop and censor Imgur albums
- Host: GitHub
- URL: https://github.com/tikene/imgur-download-crop-censor
- Owner: tikene
- Created: 2021-10-11T11:07:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-14T23:54:04.000Z (about 3 years ago)
- Last Synced: 2024-11-21T13:20:28.124Z (about 2 months ago)
- Topics: censor, crop, download, imgur, instagram
- Language: Python
- Homepage:
- Size: 493 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
When you specify an Imgur link, it will be downloaded and cropped according to the dimensions you specify (height/width).
![imgcrop1](https://user-images.githubusercontent.com/92279236/137273810-5c9a823e-4dea-4394-bc76-3f394b65a041.png)
This is useful because it allows users to post these images in social media platforms where only some specific dimensions are accepted, such as Instagram or Twitter.
![imagecrop1](https://user-images.githubusercontent.com/92279236/137273616-62f2637d-574f-4a04-aad0-972f384e4d8b.png)
It can also detect any slurs using ProfanityFilter module and censor them using a random image from the "Censor Images" folder.
![imgcrop2](https://user-images.githubusercontent.com/92279236/137273917-c7eda3d5-2f10-4154-a91e-1f3f2db1a8b8.png)
You can press enter at any time to use the default settings, which can be changed by editing the code
Imgur links use the following format: https://imgur.com/gallery/xxxxxxx
Installation:
- Install the required modules: "pip install python-slugify"...
- Download language file for profanity detecton "python -m spacy download en"
- Download Imagemagick (make sure it's in the system path) https://docs.wand-py.org/en/0.4.1/guide/install.html
- (Optional) If you wish to use profanity detection, download tesseract https://github.com/UB-Mannheim/tesseract/wiki and add the installation folder to your system path