This question shows research effort; it is useful and clear
1
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我正在我自己的串行队列上处理 Mat 图像。这会导致崩溃。如何在 Q 之前保留 Mat 图像并在处理完成后在 Q 中释放它?
- (void)processImage:(Mat&)image
{
// Do some OpenCV stuff with the image
dispatch_async(imageProcessingQ, ^{
[self.imageController processImage:image];
});
}