Updated method name in MPPVisionPacketCreator

This commit is contained in:
Prianka Liz Kariat 2023-02-20 11:23:04 +05:30
parent 5e5a1a733f
commit 4d2dd50703
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@
*/
@interface MPPVisionPacketCreator : NSObject
+ (Packet)createWithMPPImage:(MPPImage *)image error:(NSError **)error;
+ (Packet)createPacketWithMPPImage:(MPPImage *)image error:(NSError **)error;
@end

View File

@ -30,7 +30,7 @@ struct freeDeleter {
@implementation MPPVisionPacketCreator
+ (Packet)createWithMPPImage:(MPPImage *)image error:(NSError **)error {
+ (Packet)createPacketWithMPPImage:(MPPImage *)image error:(NSError **)error {
std::unique_ptr<ImageFrame> imageFrame = [image imageFrameWithError:error];
if (!imageFrame) {