Fixed incorrect method call in MPPImageClassifier for Image Mode
This commit is contained in:
@@ -134,7 +134,6 @@ static NSString *const kTaskGraphName =
|
|||||||
|
|
||||||
PacketMap inputPacketMap = InputPacketMap(imagePacket, normalizedRectPacket);
|
PacketMap inputPacketMap = InputPacketMap(imagePacket, normalizedRectPacket);
|
||||||
|
|
||||||
std::optional<PacketMap> outputPacketMap = [_visionTaskRunner processPacketMap:inputPacketMap
|
|
||||||
error:error];
|
error:error];
|
||||||
if (!outputPacketMap.has_value()) {
|
if (!outputPacketMap.has_value()) {
|
||||||
return nil;
|
return nil;
|
||||||
|
|||||||
Reference in New Issue
Block a user