Fixed incorrect method call in MPPImageClassifier for Image Mode

This commit is contained in:
Prianka Liz Kariat 2023-03-23 18:41:50 +05:30
parent 1c4be91a3a
commit 960e7a6283

View File

@ -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;