-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cv.merge causes segmentation fault #120
Comments
Can't reproduce, please provide a minimal example. |
@rainyl I put together a minimal example you can clone and try to run here: https://github.com/TimoReusch/flutter_opencv_merge |
Got it, will try to fix some time, thx~ |
Reproduced, but it's not the problem of opencv_dart, the following code worked fine: List<cv.Mat> planeMats = planesData.map((planeData) {
// replace this line
// final Uint8List bytes = planeData['bytes'];
// with
final bytes = List.generate(height * width * 1, (i) => i);
cv.Mat mat = cv.Mat.fromList(height, width, cv.MatType.CV_8UC1, bytes);
return mat;
}).toList(); Thus, I am sure it's because the incorrect use of I suppose the |
If no further problems, I am going to close this issue. Feel free to reopen it or open new issues if you still have any problems. |
I'm using the following implementation inside of an isolate:
This results in the following error:
Looks like a segmentation fault to me.
The text was updated successfully, but these errors were encountered: