Open sunchao0427 opened 5 years ago
UIImage + ML.m pixelBufferBGRToImage:方法这一句 size_t width = CVPixelBufferGetWidth(pixelBuffer); 报错,其中地址0x7fa15e7385f0 是pixelBuffer的地址。 报错信息如下: 2019-01-11 10:26:35.665624+0800 StyleTransfer[24478:5258012] *** -[Not A Type _cfTypeID]: message sent to deallocated instance 0x7fa15e7385f0
It is really old code. Maybe you can rewrite it in swift.
UIImage + ML.m pixelBufferBGRToImage:方法这一句 size_t width = CVPixelBufferGetWidth(pixelBuffer); 报错,其中地址0x7fa15e7385f0 是pixelBuffer的地址。 报错信息如下: 2019-01-11 10:26:35.665624+0800 StyleTransfer[24478:5258012] *** -[Not A Type _cfTypeID]: message sent to deallocated instance 0x7fa15e7385f0