{"id":23093168,"url":"https://github.com/crispengari/cr","last_synced_at":"2026-04-14T19:32:29.658Z","repository":{"id":141094098,"uuid":"576252889","full_name":"CrispenGari/CR","owner":"CrispenGari","description":"📸📷 Character Recognition (CR) is an AI tool for performing optic character recognition task. Given an image from a camera or an imported image the application must be able to recognize the text that are in the image in real time.","archived":false,"fork":false,"pushed_at":"2022-12-10T08:52:11.000Z","size":1517,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T18:52:04.622Z","etag":null,"topics":["artificial-intelligence","expo","javascript","optical-character-recognition","python","react","react-native","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CrispenGari.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":"2022-12-09T11:28:01.000Z","updated_at":"2023-07-22T05:17:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4b713bf-30bf-4b09-be96-3faf54c8c71c","html_url":"https://github.com/CrispenGari/CR","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CrispenGari/CR","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2FCR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2FCR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2FCR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2FCR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CrispenGari","download_url":"https://codeload.github.com/CrispenGari/CR/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CrispenGari%2FCR/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31812968,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: 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":["artificial-intelligence","expo","javascript","optical-character-recognition","python","react","react-native","typescript"],"created_at":"2024-12-16T21:46:36.601Z","updated_at":"2026-04-14T19:32:29.643Z","avatar_url":"https://github.com/CrispenGari.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### CR\n\nCharacter Recognition **(CR)**.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"logo.png\" alt=\"logo\" width=\"30%\"/\u003e\n\u003cp\u003e\n\n📸📷 Character Recognition (CR) is an AI tool for performing optic character recognition task. Given an image from a camera or an imported image the application must be able to recognize the text that are in the image in real time.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"cover.png\" alt=\"cover\" width=\"\"/\u003e\n\u003cp\u003e\n\n### API\n\nCR api is a simple rest api that is served at `http://localhost:3001` and is able to detect text data from an image.\n\n### Mobile\n\nThis is a mobile application that is consuming a rest api. The users are able to use this app to detect text from images that are in their gallery as well as images from their cameras.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"1.jpeg\" alt=\"cover\" width=\"200\"/\u003e\n\u003cimg src=\"0.jpeg\" alt=\"cover\" width=\"200\"/\u003e\n\u003cimg src=\"3.jpeg\" alt=\"cover\" width=\"200\"/\u003e\n\u003cimg src=\"2.jpeg\" alt=\"cover\" width=\"200\"/\u003e\n\u003cp\u003e\n\n### API response\n\nIf a proper `POST` request is sent to the server at `http://127.0.0.1:3001/api/v1/recognize` we will be able to get all the text that were going to appear on the image.\n\n### cURL request\n\nIf a `cURL` request is send to the server at localhost which looks as follows:\n\n```shell\ncurl -X POST -F image=@text.png http://127.0.0.1:3001/api/v1/recognize\n```\n\nThe server will respond with the `API` response which looks as follows:\n\n```json\n{\n  \"results\": [\n    \"You might like\",\n    \"See more\",\n    \"nanou\",\n    \"@NanouuSymeon\",\n    \"2d\",\n    \"Which Programming Language is good for\",\n    \"beginners?\",\n    \"874\",\n    \"2\",\n    \"161\",\n    \"1,395\"\n  ],\n  \"success\": true\n}\n```\n\n\u003e Note that the text that are detected on the images are listed as `results`.\n\n### Server\n\nThe server is actually slow in making these detections because it is running on a `CPU`.\n\n### Why CR?\n\nCharacter recognition was developed because I realized that most of the time when I buy airtime they give me a slip which contains the recharge `PIN` which is very long to type. Using this `tool` users can just take a picture of the `PIN` number and then `CR` recognize all the numbers for you accurately and all you need to do is `copy` and paste.\n\n### License\n\nIn this simple tool i'm using `MIT` license which read as follows:\n\n```shell\nMIT License\n\nCopyright (c) 2022 crispengari\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrispengari%2Fcr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrispengari%2Fcr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrispengari%2Fcr/lists"}