Skip to content

Commit 58d2a4e

Browse files
committed
preparing for 1.1.2
1 parent f04e0a7 commit 58d2a4e

File tree

61 files changed

+12447
-13302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+12447
-13302
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## v1.1.2 - 2023-06-12
8+
9+
### Added
10+
- Inside box feature and overlay. Defaults to whole body but any group can be used.
11+
- Improving readability of landmarks, by replacing raw double array with scaled Point3d lookups.
12+
13+
14+
### Changed
15+
- Tidying up features by passing side as a parameter
16+
- Simplified Feedback text to reuse QuickPose.Landmark.Group
17+
18+
719
## v1.1.1 - 2023-06-05
820

921
### Added

QuickPoseCamera.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'QuickPoseCamera'
3-
s.version = '1.1.1'
3+
s.version = '1.1.2'
44
s.summary = 'QuickPoseCamera'
55
s.homepage = 'https://quickpose.ai'
66
s.authors = 'QuickPose.ai'

QuickPoseCore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'QuickPoseCore'
3-
s.version = '1.1.1'
3+
s.version = '1.1.2'
44
s.summary = 'QuickPoseCore'
55
s.homepage = 'https://quickpose.ai'
66
s.authors = 'QuickPose.ai'

QuickPoseCore.xcframework/Info.plist

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64</string>
9+
<string>ios-x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>QuickPoseCore.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
14-
<string>arm64</string>
14+
<string>x86_64</string>
1515
</array>
1616
<key>SupportedPlatform</key>
1717
<string>ios</string>
18+
<key>SupportedPlatformVariant</key>
19+
<string>simulator</string>
1820
</dict>
1921
<dict>
2022
<key>LibraryIdentifier</key>
21-
<string>ios-x86_64-simulator</string>
23+
<string>ios-arm64</string>
2224
<key>LibraryPath</key>
2325
<string>QuickPoseCore.framework</string>
2426
<key>SupportedArchitectures</key>
2527
<array>
26-
<string>x86_64</string>
28+
<string>arm64</string>
2729
</array>
2830
<key>SupportedPlatform</key>
2931
<string>ios</string>
30-
<key>SupportedPlatformVariant</key>
31-
<string>simulator</string>
3232
</dict>
3333
</array>
3434
<key>CFBundlePackageType</key>

QuickPoseCore.xcframework/ios-arm64/QuickPoseCore.framework/Headers/QuickPoseCore-Swift.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ using UInt = size_t;
309309
/// QuickPoseOverlayView(overlayImage: $overlayImage)
310310
/// }
311311
/// .onAppear {
312-
/// quickPose.start(features: [.overlay(.userLeftArm)], onFrame: { status, image, features, feedback, landmarks in
312+
/// quickPose.start(features: [.overlay(.arm(side: .left))], onFrame: { status, image, features, feedback, landmarks in
313313
/// overlayImage = image
314314
/// })
315315
/// }
@@ -325,13 +325,13 @@ using UInt = size_t;
325325
/// Applying AI to camera feed is memory intensive and requires releasing for production use.
326326
/// The <code>start(features:onStart:onFrame:)</code> accepts a <code>Feature</code> array, and two closures one to asynchronously return when the camera has started, and second for each processed frame. Here only the onFrame image is read and applied the the view’s state, which triggers a SwiftUI refresh of the <code>QuickPoseOverlayView</code>.
327327
/// \code
328-
/// quickPose.start(features: [.overlay(.userLeftArm)], onFrame: { _, image, _, _, _ in
328+
/// quickPose.start(features: [.overlay(.arm(side: .left))], onFrame: { _, image, _, _, _ in
329329
/// overlayImage = image
330330
/// })
331331
///
332332
/// \endcodeFor a more advanced example we can reference the <code>Status</code> state to log if the user is found and current performance via the returned frames-per-second.
333333
/// \code
334-
/// quickPose.start(features: [.overlay(.userLeftArm)], onFrame: { status, image, _, _, _ in
334+
/// quickPose.start(features: [.overlay(.arm(side: .left))], onFrame: { status, image, _, _, _ in
335335
/// if case let .success(fps) = status {
336336
/// print("fps: \(fps)")
337337
/// overlayImage = image
@@ -349,6 +349,7 @@ using UInt = size_t;
349349
/// quickPose.start(features: [selectedFeature], onStart: {
350350
/// withAnimation { cameraViewOpacity = 1.0 } // unhide the camera when loaded
351351
/// }, onFrame: { status, image, features, _, _ in
352+
/// overlayImage = image
352353
/// if case let .success(fps) = status {
353354
/// if case let .reading(_, displayString) = features[selectedFeature] {
354355
/// lastResult = displayString
@@ -358,7 +359,6 @@ using UInt = size_t;
358359
/// } else if captureButtonOpacity == 1 {
359360
/// withAnimation { captureButtonOpacity = 0 }
360361
/// }
361-
/// overlayImage = image
362362
/// }
363363
/// })
364364
///
@@ -368,14 +368,14 @@ using UInt = size_t;
368368
/// \endcodeFor an example with changed formatting such as font size, color and line width we can specify a <code>Style</code> class
369369
/// \code
370370
/// let smallerStyle = QuickPose.Style(relativeLineWidth: 0.33)
371-
/// quickPose.start(features: [.overlay(.userLeftArm, style: smallerStyle)], onFrame: { status, image, _, _, _ in
371+
/// quickPose.start(features: [.overlay(.arm(side: .left), style: smallerStyle)], onFrame: { status, image, _, _, _ in
372372
/// ....
373373
/// })
374374
///
375375
/// \endcodeAnd for conditional formatting when the angle goes above 120 degrees use:
376376
/// \code
377377
/// let conditionalStyle = QuickPose.Style(conditionalColors: [QuickPose.Style.ConditionalColor(min: 120, max: nil, color: UIColor.red)])
378-
/// quickPose.start(features: [.overlay(.userLeftArm, style: conditionalStyle)], onFrame: { status, image, _, _, _ in
378+
/// quickPose.start(features: [.overlay(.arm(side: .left), style: conditionalStyle)], onFrame: { status, image, _, _, _ in
379379
/// ....
380380
/// })
381381
///
Binary file not shown.

0 commit comments

Comments
 (0)