You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure how to debug the unknown exception, but here's a workaround:
Instead of using .imshow, we can use the following code,
// Before while loop in in FaceRecognitionWebcam.java
// Create image window named "My Image".
final CanvasFrame canvas = new CanvasFrame(caption, 1.0);
// Request closing of the application when the image window is closed.
canvas.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
// Convert from OpenCV Mat to Java Buffered image for display
final OpenCVFrameConverter converter = new OpenCVFrameConverter.ToMat();
// Show image on window. //Inside while loop in FaceRecognitionWebcam.java
canvas.showImage(converter.convert(image));`
Mac
Java java version "1.8.0_221"
https://gist.github.com/codenamewei/fa73de5eefc377dfe498d950496348b4
@kenghooi-teoh
The text was updated successfully, but these errors were encountered: