Updated iOS tests to reflect the new orientation calculation.
This commit is contained in:
parent
27353310c3
commit
114a11dc4e
|
@ -421,12 +421,9 @@ static const float scoreDifferenceTolerance = 1e-2f;
|
||||||
|
|
||||||
NSArray<MPPDetection *> *detections = @[
|
NSArray<MPPDetection *> *detections = @[
|
||||||
[[MPPDetection alloc] initWithCategories:@[
|
[[MPPDetection alloc] initWithCategories:@[
|
||||||
[[MPPCategory alloc] initWithIndex:-1
|
[[MPPCategory alloc] initWithIndex:-1 score:0.699219f categoryName:@"cat" displayName:nil],
|
||||||
score:0.750000f
|
|
||||||
categoryName:@"teddy bear"
|
|
||||||
displayName:nil],
|
|
||||||
]
|
]
|
||||||
boundingBox:CGRectMake(0, 372, 416, 276)
|
boundingBox:CGRectMake(0, 608, 439, 387)
|
||||||
keypoints:nil],
|
keypoints:nil],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user