{"id":32269301,"url":"https://github.com/ywake/unified_apple_vision","last_synced_at":"2026-02-20T16:33:33.673Z","repository":{"id":222269188,"uuid":"753462447","full_name":"ywake/unified_apple_vision","owner":"ywake","description":"A plugin for using Apple Vision Framework with Flutter, designed to integrate multiple APIs into one plugin and process multiple analysis requests at once.","archived":false,"fork":false,"pushed_at":"2024-03-20T06:42:43.000Z","size":22682,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T22:33:43.348Z","etag":null,"topics":["flutter","vision-framework"],"latest_commit_sha":null,"homepage":"https://developer.apple.com/documentation/vision","language":"Dart","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/ywake.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2024-02-06T07:01:53.000Z","updated_at":"2025-03-25T16:28:47.000Z","dependencies_parsed_at":"2024-03-02T04:23:40.135Z","dependency_job_id":"7d8d8dff-b1a7-412e-9850-e679dca8f7fb","html_url":"https://github.com/ywake/unified_apple_vision","commit_stats":null,"previous_names":["ywake/unified_apple_vision"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/ywake/unified_apple_vision","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywake%2Funified_apple_vision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywake%2Funified_apple_vision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywake%2Funified_apple_vision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywake%2Funified_apple_vision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ywake","download_url":"https://codeload.github.com/ywake/unified_apple_vision/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ywake%2Funified_apple_vision/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"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":["flutter","vision-framework"],"created_at":"2025-10-22T22:23:39.269Z","updated_at":"2026-02-20T16:33:33.667Z","avatar_url":"https://github.com/ywake.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unified_apple_vision 🍎\n\n[![License: MIT](https://img.shields.io/github/license/ywake/unified_apple_vision?logo=open-source-initiative\u0026color=purple)](https://github.com/ywake/unified_apple_vision/blob/main/LICENSE)\n[![Pub Version](https://img.shields.io/pub/v/unified_apple_vision?logo=dart\u0026logoColor=0175C2)](https://pub.dev/packages/unified_apple_vision)\n[![Completed Feature](https://img.shields.io/badge/Completed-11/32-g.svg?logo=cachet)](https://opensource.org/licenses/MIT)\n\nA plugin for using [Apple Vision Framework](https://developer.apple.com/documentation/vision) with Flutter, designed to integrate multiple APIs into one plugin and process multiple analysis requests at once.\n\n## Features ⚙️ \u0026 Requirements 🧩\n\nMinimum Requirements: **iOS: 13.0+, macOS: 15.0+**  \n\u003e [!WARNING]  \n\u003e [*] Note that this differs from the VisionAPI minimum requirements.\n\nStatus: ✅ Complete ⚠️ Problematic 👨‍💻 In Progress ❌ Not Yet\n\n| Vision API | Request | Status | iOS | macOS | description |\n|------------|---------|:------:|:---:|:-----:|-------------|\n| [Still Image Analysis](https://developer.apple.com/documentation/vision/detecting_objects_in_still_images) | [Classify Image](https://developer.apple.com/documentation/vision/vnclassifyimagerequest) | ✅ | 13.0+ | 10.15+ | A request to classify an image. |\n|| [Generate Image Feature Print](https://developer.apple.com/documentation/vision/vngenerateimagefeatureprintrequest) | ✅ | 13.0+ | 10.15+ | An image-based request to generate feature prints from an image. (FeaturePrint — vector image descriptor similar to a word vector) |\n|||||||\n| [Image Sequence Analysis](https://developer.apple.com/documentation/vision/applying_matte_effects_to_people_in_images_and_video) | [Generate Person Segmentation](https://developer.apple.com/documentation/vision/vngeneratepersonsegmentationrequest) | ❌ | 15.0+ | 12.0+ | Produces a matte image for a person it finds in the input image. |\n|| [Generate Person Instance Mask](https://developer.apple.com/documentation/vision/vngeneratepersoninstancemaskrequest) | ❌ | 17.0+ | 14.0+ | Produces a mask of individual people it finds in the input image. |\n|| [Detect Document Segmentation](https://developer.apple.com/documentation/vision/vndetectdocumentsegmentationrequest) | ❌ | 15.0+ | 12.0+ | Detects rectangular regions that contain text in the input image. |\n|||||||\n| [Saliency Analysis](https://developer.apple.com/documentation/vision/cropping_images_using_saliency) | [Generate Attention Based Saliency Image](https://developer.apple.com/documentation/vision/vngenerateattentionbasedsaliencyimagerequest) | ❌ | 13.0+ | 10.15+ | Produces a heat map that identifies the parts of an image most likely to draw attention. |\n|| [Generate Objectness Based Saliency Image](https://developer.apple.com/documentation/vision/vngenerateobjectnessbasedsaliencyimagerequest) | ❌ | 13.0+ | 10.15+ | Generates a heat map that identifies the parts of an image most likely to represent objects. |\n|||||||\n| [Object Tracking](https://developer.apple.com/documentation/vision/tracking_multiple_objects_or_rectangles_in_video) | [Track Rectangle](https://developer.apple.com/documentation/vision/vntrackrectanglerequest) | ⚠️ | *11.0+ | *10.13+ | Tracks movement of a previously identified rectangular object across multiple images or video frames. |\n|| [Track Object](https://developer.apple.com/documentation/vision/vntrackobjectrequest) | ⚠️ | *11.0+ | *10.13+ | Tracks the movement of a previously identified object across multiple images or video frames. |\n|||||||\n| [Rectangle Detection](https://developer.apple.com/documentation/vision/vndetectrectanglesrequest) | [Detect Rectangle](https://developer.apple.com/documentation/vision/vndetectrectanglesrequest) | ✅ | *11.0+ | *10.13+ | Finds projected rectangular regions in an image. |\n|||||||\n| [Face and Body Detection](https://developer.apple.com/documentation/vision/selecting_a_selfie_based_on_capture_quality) | [Detect Face Capture Quality](https://developer.apple.com/documentation/vision/vndetectfacecapturequalityrequest) | ✅ | 13.0+ | 10.15+ | Produces a floating-point number that represents the capture quality of a face in a photo. |\n|| [Detect Face Landmarks](https://developer.apple.com/documentation/vision/vndetectfacelandmarksrequest) | ✅ | *11.0+ | *10.13+ | Finds facial features like eyes and mouth in an image. |\n|| [Detect Face Rectangles](https://developer.apple.com/documentation/vision/vndetectfacerectanglesrequest) | ✅ | *11.0+ | *10.13+ | Finds faces within an image. |\n|| [Detect Human Rectangles](https://developer.apple.com/documentation/vision/vndetecthumanrectanglesrequest) | ✅ | 13.0+ | 10.15+ | Finds rectangular regions that contain people in an image.|\n|||||||\n| [Body and Hand Pose Detection](https://developer.apple.com/documentation/vision/detecting_human_body_poses_in_images) | [Detect Human Body Pose](https://developer.apple.com/documentation/vision/vndetecthumanbodyposerequest) | ❌ | 14.0+ | 11.0+ | Detects a human body pose. |\n|| [Detect Human Hand Pose](https://developer.apple.com/documentation/vision/vndetecthumanhandposerequest) | ❌ | 14.0+ | 11.0+ | Detects a human hand pose. |\n|||||||\n| [3D Body Pose Detection](https://developer.apple.com/documentation/vision/identifying_3d_human_body_poses_in_images) | [Detect Human Body Pose 3D](https://developer.apple.com/documentation/vision/vndetecthumanbodypose3drequest) | ❌ | 17.0+ | 14.0+ | Detects points on human bodies in three-dimensional space, relative to the camera. |\n|||||||\n| [Animal Detection](https://developer.apple.com/documentation/vision/vnrecognizeanimalsrequest) | [Recognize Animals](https://developer.apple.com/documentation/vision/vnrecognizeanimalsrequest) | ✅ | 13.0+ | 10.15+ | Recognizes animals in an image. (Now only dogs and cats are supported.) |\n|||||||\n| [Animal Body Pose Detection](https://developer.apple.com/documentation/vision/detecting_animal_body_poses_with_vision) | [Detect Animal Body Pose](https://developer.apple.com/documentation/vision/vndetectanimalbodyposerequest) | ❌ | 17.0+ | 14.0+ | Detects an animal body pose. |\n|||||||\n| [Trajectory Detection](https://developer.apple.com/documentation/vision/identifying_trajectories_in_video) | [Detect Trajectories](https://developer.apple.com/documentation/vision/vndetecttrajectoriesrequest) | ❌ | 14.0+ | 11.0+ | Detects the trajectories of shapes moving along a parabolic path. |\n|||||||\n| [Contour Detection](https://developer.apple.com/documentation/vision/vndetectcontoursrequest) | [Detect Contours](https://developer.apple.com/documentation/vision/vndetectcontoursrequest) | ❌ | 14.0+ | 11.0+ | Detects the contours of the edges of an image. |\n|||||||\n| [Optical Flow](https://developer.apple.com/documentation/vision/vngenerateopticalflowrequest) | [Generate Optical Flow](https://developer.apple.com/documentation/vision/vngenerateopticalflowrequest) | ❌ | 14.0+ | 11.0+ | Generates directional change vectors for each pixel in the targeted image. |\n|| [Track Optical Flow](https://developer.apple.com/documentation/vision/vntrackopticalflowrequest) | ❌ | 17.0+ | 14.0+ | Determines the direction change of vectors for each pixel from a previous to current image. |\n|||||||\n| [Barcode Detection](https://developer.apple.com/documentation/vision/vndetectbarcodesrequest) | [Detect Barcodes](https://developer.apple.com/documentation/vision/vndetectbarcodesrequest) | ✅ | *11.0+ | *10.13+ | Detects barcodes in an image. |\n|||||||\n| [Text Detection](https://developer.apple.com/documentation/vision/vndetecttextrectanglesrequest) | [Detect Text Rectangles](https://developer.apple.com/documentation/vision/vndetecttextrectanglesrequest) | ✅ | *11.0+ | *10.13+ | Finds regions of visible text in an image. |\n|||||||\n| [Text Recognition](https://developer.apple.com/documentation/vision/recognizing_text_in_images) | [Recognize Text](https://developer.apple.com/documentation/vision/vnrecognizetextrequest) | ✅ | 13.0+ | 10.15+ | Finds and recognizes text in an image. |\n|||||||\n| [Horizon Detection](https://developer.apple.com/documentation/vision/vndetecthorizonrequest) | [Detect Horizon](https://developer.apple.com/documentation/vision/vndetecthorizonrequest) | ❌ | *11.0+ | *10.13+ | Determines the horizon angle in an image. |\n|||||||\n| [Image Alignment](https://developer.apple.com/documentation/vision/aligning_similar_images) | [Translational Image Registration](https://developer.apple.com/documentation/vision/vntranslationalimageregistrationrequest) | ❌ | *11.0+ | *10.13+ | Determines the affine transform necessary to align the content of two images. |\n|| [Track Translational Image Registration](https://developer.apple.com/documentation/vision/vntracktranslationalimageregistrationrequest) | ❌ | 17.0+ | 14.0+ | An image analysis request, as a stateful request you track over time, that determines the affine transform necessary to align the content of two images. |\n|| [Homographic Image Registration](https://developer.apple.com/documentation/vision/vnhomographicimageregistrationrequest) | ❌ | *11.0+ | *10.13+ | Determines the perspective warp matrix necessary to align the content of two images. |\n|| [Track Homographic Image Registration](https://developer.apple.com/documentation/vision/vntrackhomographicimageregistrationrequest) | ❌ | 17.0+ | 14.0+ | An image analysis request, as a stateful request you track over time, that determines the perspective warp matrix necessary to align the content of two images. |\n|||||||\n| [Image Background Removal](https://developer.apple.com/documentation/vision/applying_visual_effects_to_foreground_subjects) | [Generate Foreground Instance Mask](https://developer.apple.com/documentation/vision/vngenerateforegroundinstancemaskrequest) | ❌ | 17.0+ | 14.0+ | Generates an instance mask of noticable objects to separate from the background. |\n\n\u003e [!IMPORTANT]  \n\u003e If you have a request, please make an [issue](https://github.com/ywake/unified_apple_vision/issues).\n\n## Install 📦\nAdd this to your pubspec.yaml:\n\n```yaml\nunified_apple_vision: ^latest\n```\n\n## Usage 🕹\n\n```dart\n// initialize\nfinal vision = UnifiedAppleVision();\n\n// create input image\nfinal input = VisionInputImage(\n  bytes: image.bytes,\n  size: image.size,\n);\n\n// analyze\nvision.analyze(\n  image: input,\n  requests: [\n    // add requests you wish to perform\n    VisionRecognizeTextRequest(\n      onResults: (results) {\n        final observations = results.ofRecognizeTextRequest; // get casted results\n        // some action\n      },\n      onError: (error) {\n        // handle error\n      },\n    ),\n  ],\n);\n```\n\n### [Documents 📘](doc/README.md)\n\n## Contributing 🤝\nContributions are welcome! Please feel free to submit a Pull Request.\n\n### Adding New Request or Observation\nIf you want to add a new request or observation class, you can use the `tools.py` script to generate the boilerplate code for you.\n\n```bash\npython3 tools.py request --name VNDetectRectanglesRequest --ios 11.0 --macos 10.13\npython3 tools.py observation --name VNRectangleObservation --extends VNDetectedObjectObservation\n```\n\n## License 📜\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/ywake/unified_apple_vision/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fywake%2Funified_apple_vision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fywake%2Funified_apple_vision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fywake%2Funified_apple_vision/lists"}