From 96cd7b3fc6332ba343a4f817a461752d70c249aa Mon Sep 17 00:00:00 2001 From: Knightro <50028636+Knightro63@users.noreply.github.com> Date: Sun, 10 Mar 2024 17:17:16 -0400 Subject: [PATCH] Fixed Readme --- README.md | 2 +- packages/apple_vision/CHANGELOG.md | 4 +++- packages/apple_vision/README.md | 2 +- packages/apple_vision/pubspec.yaml | 1 - .../darwin/Classes/AppleVisionImageDepthPlugin.swift | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e949497..fc7d707 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Apple Vision is a Flutter plugin that enables Flutter apps to use [Apple Vision] |[Pose 3D](https://developer.apple.com/documentation/vision/identifying_3d_human_body_poses_in_images) | [apple\_vision\_pose\_3d](https://pub.dev/packages/apple_vision_pose_3d) [![Pub Version](https://img.shields.io/pub/v/apple_vision_pose_3d)](https://pub.dev/packages/apple_vision_pose_3d) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_pose_3d) | ✅ | ✅ | |[Saliency](https://developer.apple.com/documentation/vision/vnsaliencyimageobservation) | [apple\_vision\_saliency](https://pub.dev/packages/apple_vision_saliency) [![Pub Version](https://img.shields.io/pub/v/apple_vision_saliency)](https://pub.dev/packages/apple_vision_saliency) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_saliency) | ✅ | ✅ | |[Lift Subjects](https://developer.apple.com/documentation/vision/vnsaliencyimageobservation) | [apple\_vision\_lift\_subjects](https://pub.dev/packages/apple_vision_lift_subjects) [![Pub Version](https://img.shields.io/pub/v/apple_vision_lift_subjects)](https://pub.dev/packages/apple_vision_lift_subjects) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_lift_subjects) | ✅ | ✅ | -[apple\_vision\_image\_depth](https://pub.dev/packages/apple_vision_image_depth) [![Pub Version](https://developer.apple.com/documentation/avfoundation/additional_data_capture/capturing_photos_with_depth) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_image_depth) | ✅ | ✅ | +[apple\_vision\_image\_depth](https://pub.dev/packages/apple_vision_image_depth) [![Pub Version](https://developer.apple.com/documentation/avfoundation/additional_data_capture/capturing_photos_with_depth)] | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_image_depth) | ✅ | ✅ | ## Requirements diff --git a/packages/apple_vision/CHANGELOG.md b/packages/apple_vision/CHANGELOG.md index 604255d..7ff692b 100644 --- a/packages/apple_vision/CHANGELOG.md +++ b/packages/apple_vision/CHANGELOG.md @@ -1,6 +1,8 @@ -## 0.0.5 +## 0.0.6 * Updated Selfie Segmentation +* Added Hand Pose 3D +* Added Face Mesh ## 0.0.5 diff --git a/packages/apple_vision/README.md b/packages/apple_vision/README.md index e949497..7386a2b 100644 --- a/packages/apple_vision/README.md +++ b/packages/apple_vision/README.md @@ -35,7 +35,7 @@ Apple Vision is a Flutter plugin that enables Flutter apps to use [Apple Vision] |[Pose 3D](https://developer.apple.com/documentation/vision/identifying_3d_human_body_poses_in_images) | [apple\_vision\_pose\_3d](https://pub.dev/packages/apple_vision_pose_3d) [![Pub Version](https://img.shields.io/pub/v/apple_vision_pose_3d)](https://pub.dev/packages/apple_vision_pose_3d) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_pose_3d) | ✅ | ✅ | |[Saliency](https://developer.apple.com/documentation/vision/vnsaliencyimageobservation) | [apple\_vision\_saliency](https://pub.dev/packages/apple_vision_saliency) [![Pub Version](https://img.shields.io/pub/v/apple_vision_saliency)](https://pub.dev/packages/apple_vision_saliency) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_saliency) | ✅ | ✅ | |[Lift Subjects](https://developer.apple.com/documentation/vision/vnsaliencyimageobservation) | [apple\_vision\_lift\_subjects](https://pub.dev/packages/apple_vision_lift_subjects) [![Pub Version](https://img.shields.io/pub/v/apple_vision_lift_subjects)](https://pub.dev/packages/apple_vision_lift_subjects) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_lift_subjects) | ✅ | ✅ | -[apple\_vision\_image\_depth](https://pub.dev/packages/apple_vision_image_depth) [![Pub Version](https://developer.apple.com/documentation/avfoundation/additional_data_capture/capturing_photos_with_depth) | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_image_depth) | ✅ | ✅ | +[apple\_vision\_image\_depth](https://pub.dev/packages/apple_vision_image_depth) [![Pub Version](https://developer.apple.com/documentation/avfoundation/additional_data_capture/capturing_photos_with_depth) ] | [![GitHub](https://img.shields.io/badge/github-%23121011.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Knightro63/apple_vision/tree/master/packages/apple_vision_image_depth) | ✅ | ✅ | ## Requirements diff --git a/packages/apple_vision/pubspec.yaml b/packages/apple_vision/pubspec.yaml index d1d2cef..ebebc7b 100644 --- a/packages/apple_vision/pubspec.yaml +++ b/packages/apple_vision/pubspec.yaml @@ -16,7 +16,6 @@ dependencies: apple_vision_face: ^0.0.3 apple_vision_face_mesh: ^0.0.1 apple_vision_face_detection: ^0.0.2 - apple_vision_face_mesh: ^0.0.1 apple_vision_hand: ^0.0.3 apple_vision_hand_3d: ^0.0.1 apple_vision_image_classification: ^0.0.2 diff --git a/packages/apple_vision_image_depth/darwin/Classes/AppleVisionImageDepthPlugin.swift b/packages/apple_vision_image_depth/darwin/Classes/AppleVisionImageDepthPlugin.swift index c113f5c..7bb9dcc 100644 --- a/packages/apple_vision_image_depth/darwin/Classes/AppleVisionImageDepthPlugin.swift +++ b/packages/apple_vision_image_depth/darwin/Classes/AppleVisionImageDepthPlugin.swift @@ -242,7 +242,7 @@ public class AppleVisionImageDepthPlugin: NSObject, FlutterPlugin { // Use a default model configuration. let defaultConfig = MLModelConfiguration() // Create an instance of the image classifier's wrapper class. - let imageDepthWrapper = try? FCRN(configuration: defaultConfig) + let imageDepthWrapper = try? FCRNFP16(configuration: defaultConfig) guard let imageDepth = imageDepthWrapper else { fatalError("App failed to create an image classifier model instance.") }