Face detection and tracking demo not working

2 views (last 30 days)
HARI
HARI on 10 Nov 2020
Commented: Walter Roberson on 14 Nov 2020
Hello all,
I am trying to run "Face detection and tracking" demo code from matlab but i get an error the below line of code.
oldInliers = oldInliers(inlierIdx, :);
index in position 1 is invalid.the error says array indices must be positive integers or logical values.
I am using MatlabR2020A.
In the below link you can find the code for reproducing the error.
Thanks in advance for your support!
  1 Comment
Walter Roberson
Walter Roberson on 14 Nov 2020
Our policy is not to delete questions that have had a sincere effort at an answer -- not unless there are special reasons such as the question being one that we cannot discuss due to various laws.

Sign in to comment.

Answers (1)

Aghamarsh Varanasi
Aghamarsh Varanasi on 13 Nov 2020
Edited: Aghamarsh Varanasi on 13 Nov 2020
Hi Hari,
The Documentation that you are refering is the Documentation for MATLAB R2020b.
You can update your MATLAB to the latest version and try this example.
Thanks

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!