{"id":20664738,"url":"https://github.com/0x7o/ficaptcha","last_synced_at":"2026-04-22T02:31:36.684Z","repository":{"id":57673000,"uuid":"480760751","full_name":"0x7o/fiCaptcha","owner":"0x7o","description":"Module for image-captcha generation","archived":false,"fork":false,"pushed_at":"2022-04-20T11:14:39.000Z","size":223,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T06:19:49.094Z","etag":null,"topics":["captcha","captcha-generator","web"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0x7o.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":"2022-04-12T10:28:50.000Z","updated_at":"2024-01-02T22:23:27.000Z","dependencies_parsed_at":"2022-08-31T08:22:08.665Z","dependency_job_id":null,"html_url":"https://github.com/0x7o/fiCaptcha","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/0x7o%2FfiCaptcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x7o%2FfiCaptcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x7o%2FfiCaptcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0x7o%2FfiCaptcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0x7o","download_url":"https://codeload.github.com/0x7o/fiCaptcha/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242829745,"owners_count":20192052,"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":["captcha","captcha-generator","web"],"created_at":"2024-11-16T19:26:00.246Z","updated_at":"2026-04-22T02:31:36.647Z","avatar_url":"https://github.com/0x7o.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fiCaptcha\nModule for image-captcha generation\n\n## Install\nBuild from source\n```bash\ngit clone https://github.com/0x7o/fiCaptcha\ncd fiCaptcha\npip install .\n```\n\nPython pip install\n```bash\npip install ficaptcha\n```\n## Usage\n# Image Captcha\nCreate a folder with images for captcha:\n```bash\n├── images\n│   ├── toy\n│       ├── toy1.png\n│       ├── toy2.png\n│       └── ...\n│   └── fox\n│       ├── fox1.png\n│       ├── fox2.png\n│       └── ...\n```\nImport the library and create a class\n- ```size=(256, 256)``` - Captcha size in pixels\n- ```image_dir=\"images\"``` - Image folder for captcha\n- ```background_color=\"white\"``` - Background Color\n- ```noise_bg=True``` - Whether or not to add noise to the background\n- ```noise_im=True``` - Whether or not to add noise to the images\n- ```rotate_im=True``` - Rotate images or not\n- ```count_images=5``` - Number of images on the captcha\n```python\nfrom ficaptcha.image import Captcha\n\nc = Captcha(size=(256, 256), image_dir=\"images\", rotate_im=False)\n```\nLet's generate our captcha\n```python\nresult = c.generate()\nprint(result)\n```\n```bash\n{'class': 'toy', 'file': 'images/toy/toy5.png', 'position': (17, 139)}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x7o%2Fficaptcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0x7o%2Fficaptcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0x7o%2Fficaptcha/lists"}