Fixed incorrect method call for image mode
This commit is contained in:
parent
960e7a6283
commit
1904632282
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user