{"id":13749723,"url":"https://github.com/hansemannn/titanium-coreml","last_synced_at":"2025-04-15T20:43:40.748Z","repository":{"id":142791330,"uuid":"96383867","full_name":"hansemannn/titanium-coreml","owner":"hansemannn","description":"Use the CoreML framework with the Titanium SDK","archived":false,"fork":false,"pushed_at":"2024-02-28T08:13:37.000Z","size":36,"stargazers_count":16,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T01:12:03.413Z","etag":null,"topics":["appcelerator","coreml","ios11","javascript","native","titanium"],"latest_commit_sha":null,"homepage":"","language":"Objective-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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-06T03:19:47.000Z","updated_at":"2024-10-21T02:57:21.000Z","dependencies_parsed_at":"2024-08-03T07:13:53.823Z","dependency_job_id":null,"html_url":"https://github.com/hansemannn/titanium-coreml","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-coreml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-coreml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-coreml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hansemannn%2Ftitanium-coreml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hansemannn","download_url":"https://codeload.github.com/hansemannn/titanium-coreml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249151949,"owners_count":21221155,"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":["appcelerator","coreml","ios11","javascript","native","titanium"],"created_at":"2024-08-03T07:01:10.933Z","updated_at":"2025-04-15T20:43:40.721Z","avatar_url":"https://github.com/hansemannn.png","language":"Objective-C","funding_links":[],"categories":["Objective-C"],"sub_categories":[],"readme":"# iOS 11+ CoreML in Titanium\nUse the native iOS 11+ \"CoreML\" framework in Axway Titanium.\n\n## Requirements\n- [x] Titanium SDK 6.2.0 and later\n- [x] iOS 11 and later\n- [x] Compiled CoreML models (`xcrun coremlcompiler compile path/to/model.mlmodel /path/to/output`)\n\n## API's\n\n### `createRealtimeRecognitionView(args)`\n- `model` (String - _Required_)\n\n#### Methods\n- `startRecognition()`\n- `stopRecognition()`\n- `isRecognizing()` (Boolean)\n\n#### Events\n- `classification` (`Event.classifications`)\n\n### `isSupported()` (Boolean)\n\n## Example\n```js\nvar CoreML = require('ti.coreml');\n\nvar recognitionView = CoreML.createRealtimeRecognitionView({\n    top: 40,\n    height: 300,\n    model: 'Inceptionv3.mlmodelc'\n});\n\nrecognitionView.addEventListener('classification', function(e) {\n    Ti.API.info(e);\n});\n\nvar win = Ti.UI.createWindow({\n    backgroundColor: '#fff'\n});\n\nwin.add(recognitionView);\n\nvar triggerButton = Ti.UI.createButton({\n    bottom: 40,\n    title: 'Start Real-Time Recognition'\n});\n\ntriggerButton.addEventListener('click', function() {\n    recognitionView.startRecognition();\n});\n\nwin.add(triggerButton);\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 Axway 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-coreml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhansemannn%2Ftitanium-coreml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhansemannn%2Ftitanium-coreml/lists"}