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
I encountered an error while using the AddWeighted() scheme to fuse images: signal aligned during external code execution. Causing my program to crash directly. I know what caused this error. What I am concerned about is that the program crash caused by this error cannot be recovered by 'recover()'. This problem is very serious because such an error directly causes the program to crash without automatic recovery. Is there any way to prevent this situation from happening? I just want the program to be less fragile!
gocv:0.37.0 windows
Your Environment
Operating System and version: windows10
OpenCV version used:4.10
GoCV version used: 0.37.0
Go version: 1.22
The text was updated successfully, but these errors were encountered:
In my opinion, this is a defect of opencv itself. In my experience of using opencv, every function may cause exceptions, even when using opencv directly in a C++ project. Some exceptions can be caught by catch cv::Exception, but memory segmentation errors will still cause the program to crash and exit directly. So I can only be more careful and try to check every parameters. For example, whether the Mat is empty, whether the size/channel/type is the same, etc.
Description
I encountered an error while using the AddWeighted() scheme to fuse images: signal aligned during external code execution. Causing my program to crash directly. I know what caused this error. What I am concerned about is that the program crash caused by this error cannot be recovered by 'recover()'. This problem is very serious because such an error directly causes the program to crash without automatic recovery. Is there any way to prevent this situation from happening? I just want the program to be less fragile!
gocv:0.37.0 windows
Your Environment
The text was updated successfully, but these errors were encountered: