Updated method name in MPPVisionPacketCreator
This commit is contained in:
parent
5e5a1a733f
commit
4d2dd50703
|
@ -21,6 +21,6 @@
|
|||
*/
|
||||
@interface MPPVisionPacketCreator : NSObject
|
||||
|
||||
+ (Packet)createWithMPPImage:(MPPImage *)image error:(NSError **)error;
|
||||
+ (Packet)createPacketWithMPPImage:(MPPImage *)image error:(NSError **)error;
|
||||
|
||||
@end
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user