Open jerkohren opened 1 year ago
I have found a cause. It is in line:
using var dict = CvAruco.GetPredefinedDictionary(PredefinedDictionaryName.Dict6X6_250);
After i removed using
keyword, it worked. Can someone explain this please?
Here is DrawArucoMarker
method:
public static void DrawArucoMarker(ref Mat frame, Point2f[][] corners, int[] ids, Scalar size) { var arUcoFrame = frame.Clone(); CvAruco.DrawDetectedMarkers(arUcoFrame, corners, ids, size); Cv2.ImShow("ArUco detector", arUcoFrame); }
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Summary of your issue
Hi, i am getting this exception when trying to find ArUco markers. On Windows machine it works without problems. The problem is Raspberry Pi OS.
Environment
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=raspbian ID_LIKE=debian
What did you do when you faced the problem?
I tried to add different nuget packages of OpenCvSharp but nithing helps.
Example code:
Here is my methof, exception is thrown on line 19.
Output:
What did you intend to be?
I have installed this nuget packages: