How can I make this features extraction code to detect and count
Show older comments
Hi
i need to make this code to detect and track people it extract feaures and combine it i an array
pointrgb=detectSURFFeatures(gryI2,'NumOctaves',1,'NumScaleLevels',3,'MetricThreshold',5000);
[features22, valid_points22] = extractFeatures((gryI2),pointrgb);
[reg,dd] = detectMSERFeatures(rgb2gray(I2),'ThresholdDelta',1,'MaxAreaVariation',1);
[features33, valid_points33] = extractFeatures((gryI2),reg);
comfeat2{k,:}=[features22(:,:);features33(:,:)];
valid_pointscom{k,:}=vertcat(valid_points33,valid_points22);
Answers (1)
Prabhan Purwar
on 27 Aug 2019
0 votes
Hey,
Detection and Tracking are two interdependent processes.
Object Detection and Recognition Code based upon Point Feature Matching can be downloaded from the link attached.
Tracking of an object can be performed using the following links.
Note: Ignore the Augmented Reality (AR) part in the video, object detection and tracking based upon Point Feature Matching.
- https://www.mathworks.com/videos/object-recognition-and-tracking-for-augmented-reality-90546.html (Video with code and methodology explained)
Although I would suggest you making use of more advanced detection and tracking techniques, such as Motion-Based Multiple Object Tracking, Face Detection and Tracking Using CAMShift, Kanade-Lucas-Tomasi (KLT) point tracking algorithm, Kalman Filtering to predict the location of a moving object and others.
Link to some of the popular techniques are listed below:
- https://www.mathworks.com/help/vision/examples/face-detection-and-tracking-using-camshift.html(Face Detection and Tracking Using CAMShift)
- https://www.mathworks.com/help/vision/examples/motion-based-multiple-object-tracking.html(Motion-Based Multiple Object Tracking)
- https://www.mathworks.com/videos/computer-vision-with-matlab-for-object-detection-and-tracking-81866.html?elqsid=1566898167845&potential_use=Home(Computer Vision with MATLAB for Object Detection and Tracking)
- https://www.mathworks.com/products/computer-vision.html (CV Toolbox)
Categories
Find more on Computer Vision Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!