Fixed incorrect method call for image mode

This commit is contained in:
Prianka Liz Kariat 2023-03-23 18:42:12 +05:30
parent 960e7a6283
commit 1904632282

View File

@ -134,6 +134,7 @@ static NSString *const kTaskGraphName =
PacketMap inputPacketMap = InputPacketMap(imagePacket, normalizedRectPacket); PacketMap inputPacketMap = InputPacketMap(imagePacket, normalizedRectPacket);
std::optional<PacketMap> outputPacketMap = [_visionTaskRunner processImagePacketMap:inputPacketMap
error:error]; error:error];
if (!outputPacketMap.has_value()) { if (!outputPacketMap.has_value()) {
return nil; return nil;