{"id":18815298,"url":"https://github.com/thomas-maurice/deepfry","last_synced_at":"2025-04-13T21:51:09.119Z","repository":{"id":40973295,"uuid":"231439145","full_name":"thomas-maurice/deepfry","owner":"thomas-maurice","description":"Script to deepfry images","archived":false,"fork":false,"pushed_at":"2022-12-08T02:49:01.000Z","size":2813,"stargazers_count":5,"open_issues_count":12,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T12:11:15.237Z","etag":null,"topics":["deepfry","image-processing","memes","opencv","python","shitpost","shitposting"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomas-maurice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-02T18:39:41.000Z","updated_at":"2023-05-07T14:02:47.000Z","dependencies_parsed_at":"2022-09-17T03:51:55.128Z","dependency_job_id":null,"html_url":"https://github.com/thomas-maurice/deepfry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fdeepfry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fdeepfry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fdeepfry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fdeepfry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomas-maurice","download_url":"https://codeload.github.com/thomas-maurice/deepfry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248788855,"owners_count":21161726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deepfry","image-processing","memes","opencv","python","shitpost","shitposting"],"created_at":"2024-11-07T23:48:29.779Z","updated_at":"2025-04-13T21:51:09.089Z","avatar_url":"https://github.com/thomas-maurice.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deepfrier\nThis is a python OpenCV based scrit aimed at deep frying images.\n\n# Installation\nYou need to install the OpenCV library on your system, read the docs\nof the project for more info on how to do so.\n\nInstall the python dependencies afterwards, `pip3 install -r requirements.txt`\nshould do it.\n\nYou should be all set to use the project.\n\n## Usage\n```\n$ ./deepfry.py fry --help\nUsage: deepfry.py fry [OPTIONS]\n\nOptions:\n  --image TEXT                    Image to process\n  --video                         Do use the video ?\n  --filters TEXT                  Coma separated list of filters to use, the\n                                  filters will be applied in the order you\n                                  specify them on every face found\n  --noise_type [gauss|poisson|speckle|sp]\n                                  types of noises to add\n  --gauss_amount INTEGER          Amount of gaussian noise\n  --sp_ratio FLOAT                Salt and pepper noise ratio\n  --sp_amount FLOAT               Salt and pepper noise amount\n  --motion INTEGER                Amount of motion blur to add\n  --sharpening INTEGER            Sharpening\n  --saturation FLOAT              Saturation\n  --brightness INTEGER            Brightness\n  --contrast INTEGER              Contrast\n  --jpeg_iterations INTEGER       How many times compress the image after\n                                  frying ?\n  --jpeg_quality INTEGER          How shitty should the compression be\n  --filters_dir TEXT              Where to find the filters\n  --output TEXT                   Output file name\n  --overrides TEXT                Coma separated list of overrides on the form\n                                  filter:variable=value\n  --effects TEXT                  Coma separated list of the effects you want\n                                  to apply,\n                                  like motion,noise,saturation,jpeg,\n                                  the full list of available effects is\n                                  ['motion', 'sharpening', 'contrast', 'jpeg',\n                                  'noise', 'saturation']\n  --url TEXT                      URL of an image to download and deepfry\n  --help                          Show this message and exit.\n```\n\n# Examples\nYou can find in the examples directory 2 images generated with the following command lines:\n\nFor my github avatar:\n```\n./deepfry.py fry --filters deal_with_it,shutterstock --jpeg_quality 8 --noise_type sp --sp_ratio 0.1 --sp_amount 0.3 --image  source.jpg --sharpening 200 --saturation 1.5 --contrast 2\n```\nFor Lena:\n```\n./deepfry.py fry --filters lasers_2,joint --jpeg_quality 5 --noise_type gauss --image  lena.png --sharpening 100 --saturation 1 --gauss_amount 300 --motion 8\n```\n\n# License\n```\n           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n                   Version 2, December 2004\n\nCopyright (C) 2004 Sam Hocevar \u003csam@hocevar.net\u003e\n\nEveryone is permitted to copy and distribute verbatim or modified\ncopies of this license document, and changing it is allowed as long\nas the name is changed.\n\n           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n 0. You just DO WHAT THE FUCK YOU WANT TO.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-maurice%2Fdeepfry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomas-maurice%2Fdeepfry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-maurice%2Fdeepfry/lists"}