OpenCVForUnity icon indicating copy to clipboard operation
OpenCVForUnity copied to clipboard

Error with MarkerLessAR

Open OriginLive opened this issue 8 years ago • 0 comments

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.

OriginLive avatar Mar 24 '17 11:03 OriginLive