{"id":13748224,"url":"https://github.com/hansemannn/titanium-tesseract-ocr","last_synced_at":"2025-08-19T09:10:26.284Z","repository":{"id":142791378,"uuid":"96277379","full_name":"hansemannn/titanium-tesseract-ocr","owner":"hansemannn","description":"Use the native TesseractOCR iOS-framework in Appcelerator Titanium.","archived":false,"fork":false,"pushed_at":"2017-07-08T21:36:26.000Z","size":25231,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T20:54:50.336Z","etag":null,"topics":["appcelerator","ios","javascript","native","tesseract-ocr","titanium"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hansemannn.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}},"created_at":"2017-07-05T04:41:32.000Z","updated_at":"2017-08-17T23:39:49.000Z","dependencies_parsed_at":"2023-03-18T06:00:29.670Z","dependency_job_id":null,"html_url":"https://github.com/hansemannn/titanium-tesseract-ocr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hansemannn/titanium-tesseract-ocr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-tesseract-ocr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-tesseract-ocr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-tesseract-ocr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-tesseract-ocr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-tesseract-ocr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-tesseract-ocr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271128654,"owners_count":24703879,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["appcelerator","ios","javascript","native","tesseract-ocr","titanium"],"created_at":"2024-08-03T07:00:37.326Z","updated_at":"2025-08-19T09:10:26.228Z","avatar_url":"https://github.com/hansemannn.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# 🔠 TesseractOCR in Titanium\nUse the native TesseractOCR iOS-framework in Appcelerator Titanium.\n\n| Input | Output |\n|-------|--------|\n|\u003cimg src=\"./example/image_sample_tr.png\" width=\"300\" alt=\"Example Image\" /\u003e|\u003cimg src=\"https://abload.de/img/simulatorscreenshot04gtsct.png\" width=\"300\" /\u003e|\n\n## Requirements\n- [x] Titanium SDK 6.0.0 or later\n- [x] A TesseractOCR language-file placed in `tessdata/*.traineddata`\n\n## API's\n\n### Methods\n\n#### `recognize(args)`\n- `image` (String - _Required_)\n- `callback` (Function - _Required_)\n- `languages` (Array\u003cString\u003e - _Optional_ - Default: `['eng']`)\n- `charWhitelist` (Array\u003cString\u003e - _Optional_)\n- `charBlacklist` (Array\u003cString\u003e - _Optional_)\n- `engineMode` (`ENGINE_MODE_TESSERACT_ONLY`, `ENGINE_MODE_CUBE_ONLY`, `ENGINE_MODE_CUBE_COMBINED` - _Optional_)\n- `rect` (Object - _Optional_)\n  - `x`, `y`, `width`, `height`\n\n## Example\n```js\nvar Tesseract = require('ti.tesseract');\n\nvar win = Ti.UI.createWindow({\n    backgroundColor: '#fff'\n});\n\nvar btn = Ti.UI.createButton({\n    title: 'Recognize Image'\n});\n\nbtn.addEventListener('click', function() {\n    Tesseract.recognize({\n        image: 'image_sample_tr.png',\n        callback: function(e) {\n            alert('Text: ' + e.recognizedText);\n        }\n    });\n});\n\nwin.add(btn);\nwin.open();\n```\n\n## Build\n```js\ncd iphone\nappc ti build -p ios --build-only\n```\n\n## Legal\n\nThis module is Copyright (c) 2017-Present by Appcelerator, Inc. All Rights Reserved. \nUsage of this module is subject to the Terms of Service agreement with Appcelerator, Inc.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-tesseract-ocr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-tesseract-ocr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-tesseract-ocr/lists"}