{"id":21969170,"url":"https://github.com/tautcony/captcha-tfjs-demo","last_synced_at":"2026-04-13T12:31:38.475Z","repository":{"id":249255958,"uuid":"831030898","full_name":"tautcony/captcha-tfjs-demo","owner":"tautcony","description":"Run an OCR model in the browser via tfjs","archived":false,"fork":false,"pushed_at":"2024-07-24T08:04:27.000Z","size":3037,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T22:25:59.596Z","etag":null,"topics":["captcha","tensorflow","tensorflowjs"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tautcony.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-19T13:56:22.000Z","updated_at":"2024-08-16T14:51:37.000Z","dependencies_parsed_at":"2024-07-24T09:27:42.549Z","dependency_job_id":"d8a836b9-e330-434a-a604-164f14eee7bf","html_url":"https://github.com/tautcony/captcha-tfjs-demo","commit_stats":null,"previous_names":["tautcony/captcha-tfjs-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tautcony/captcha-tfjs-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tautcony%2Fcaptcha-tfjs-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tautcony%2Fcaptcha-tfjs-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tautcony%2Fcaptcha-tfjs-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tautcony%2Fcaptcha-tfjs-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tautcony","download_url":"https://codeload.github.com/tautcony/captcha-tfjs-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tautcony%2Fcaptcha-tfjs-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31753053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","tensorflow","tensorflowjs"],"created_at":"2024-11-29T14:07:44.153Z","updated_at":"2026-04-13T12:31:38.443Z","avatar_url":"https://github.com/tautcony.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TensorFlow.js Captcha Recognition\n\nThis project aims to train and use TensorFlow.js to perform captcha recognition in the browser.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Usage](#usage)\n- [License](#license)\n\n## Introduction\n\nIn this project, we leverage the power of TensorFlow to train a machine learning model for captcha recognition. By using TensorFlow.js, we can perform captcha recognition directly in the browser without the need for server-side processing.\n\n## Usage\n\nNote: In this project, all captcha images are located in the `data` folder and are labeled by their filenames, with the following deformation characteristics:\n\n1. The characters are surrounded by a lot of noise\n1. The individual characters themselves are slightly distorted.\n\n![captcha example](./test/2589.png)\n\nTo implement the captcha recognition functionality in your browser, follow these steps:\n\n1. prepare and label the captcha images for training\n1. run `0-preprocess.py` to preprocess the captcha images\n1. run `1-generate_dataset.py` to generate the dataset\n1. run `2-train_model.py` to train the model\n1. run `3-test_model.py` to test the model\n1. run `4-convert_tfjs_model.py` to convert model for tensorflow.js\n\nNow you have the model in the `web/tfjs_model` folder, start a server under the `web` directory, you can now perform captcha recognition in the browser.\n\n## License\n\nDistributed under the GPLv3+ License. See LICENSE for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftautcony%2Fcaptcha-tfjs-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftautcony%2Fcaptcha-tfjs-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftautcony%2Fcaptcha-tfjs-demo/lists"}