{"id":785,"url":"https://github.com/dcordero/TvOSScribble","last_synced_at":"2025-07-30T19:32:20.448Z","repository":{"id":56924618,"uuid":"100231075","full_name":"dcordero/TvOSScribble","owner":"dcordero","description":"Handwriting numbers recognizer for Siri Remote","archived":false,"fork":false,"pushed_at":"2022-01-23T18:48:34.000Z","size":12012,"stargazers_count":182,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-19T19:45:02.348Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","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/dcordero.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":"2017-08-14T05:25:59.000Z","updated_at":"2024-06-01T08:23:24.000Z","dependencies_parsed_at":"2022-08-21T05:20:28.617Z","dependency_job_id":null,"html_url":"https://github.com/dcordero/TvOSScribble","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcordero%2FTvOSScribble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcordero%2FTvOSScribble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcordero%2FTvOSScribble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcordero%2FTvOSScribble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcordero","download_url":"https://codeload.github.com/dcordero/TvOSScribble/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228178889,"owners_count":17881105,"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":[],"created_at":"2024-01-05T20:15:31.268Z","updated_at":"2024-12-04T19:31:57.559Z","avatar_url":"https://github.com/dcordero.png","language":"Swift","funding_links":[],"categories":["Apple TV","HarmonyOS"],"sub_categories":["Other free courses","Getting Started","Windows Manager"],"readme":"\n# TvOSScribble\n\nTvOSScribble, based on CoreML, mitigates the lack of a physical numpad area in Siri Remote implementing a handwriting gesture recognizer.\n\n![](Preview.gif)\n\n- Video: https://vimeo.com/229529023\n- Post: [Building Scribble for tvOS](https://medium.com/@dcordero/tvosscribble-building-scribble-for-tvos-6f846db7f16d)\n\n## Requirements\n\n- tvOS 11.0+\n- Xcode 9.0\n\n## Installation\n\n### CocoaPods\n\nTo integrate TvOSScribble into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nsource 'https://github.com/CocoaPods/Specs.git'\nplatform :tvos, '11.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'TvOSScribble', '~\u003e 0.0.1'\nend\n```\n\n## Usage\n\nAll you need is to add TvOSScribbleGestureRecognizer to the view in which you want to scribble:\n\n\n```swift\nimport UIKit\nimport TvOSScribble\n\nclass ViewController: UIViewController {\n\n    @IBOutlet private weak var predictionLabel: UILabel!\n    @IBOutlet private weak var gestureImage: UIImageView!\n\n    override func viewDidLoad() {\n        let gestureRecognizer = TvOSScribbleGestureRecognizer(target: self, action: #selector(ViewController.gestureDidRecognize))\n\n        view.addGestureRecognizer(gestureRecognizer)\n    }\n\n    @objc func gestureDidRecognize(recognizer: TvOSScribbleGestureRecognizer) {\n        guard recognizer.state == .ended else { return }\n\n        gestureImage.image = recognizer.image\n        predictionLabel.text = recognizer.result\n    }\n}\n```\n\n## Contribute\n\nWe would love for you to contribute to **TvOSScribble**, check the ``LICENSE`` file for more info. Feel free to submit any issues or PRs. ❤️\n\n## Meta\n\nSpecial thanks to [@r4ghu](https://github.com/r4ghu) for his fantastic article on [COMPUTER VISION IN IOS – COREML+KERAS+MNIST](https://sriraghu.com/2017/07/06/computer-vision-in-ios-coremlkerasmnist/).\n\nDavid Cordero – [@dcordero](https://twitter.com/dcordero)\n\nDistributed under the MIT license. See ``LICENSE`` for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcordero%2FTvOSScribble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcordero%2FTvOSScribble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcordero%2FTvOSScribble/lists"}