OpenCVForUnity
OpenCVForUnity copied to clipboard
Error with MarkerLessAR
ArgumentOutOfRangeException: Argument is out of range. Parameter name: index System.Collections.Generic.List`1[OpenCVForUnity.KeyPoint].get_Item (Int32 index) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/List.cs:633) PatternDetector.refineMatchesWithHomography (OpenCVForUnity.MatOfKeyPoint queryKeypoints, OpenCVForUnity.MatOfKeyPoint trainKeypoints, Single reprojectionThreshold, OpenCVForUnity.MatOfDMatch matches, OpenCVForUnity.Mat homography) (at Assets/MarkerLessARExample/MarkerLessAR/PatternDetector.cs:438) PatternDetector.findPattern (OpenCVForUnity.Mat image, .PatternTrackingInfo info) (at Assets/MarkerLessARExample/MarkerLessAR/PatternDetector.cs:226) CVAR.Update () (at Assets/MarkerLessARExample/Scripts/CVAR.cs:222)
That happens when you put the object you're tracking away.