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