Nhận dạng mặt người – Code Matlab

faceDetector = vision.CascadeObjectDetector;
shapeInserter = vision.ShapeInserter(‘BorderColor’,’Custom’,’CustomBorderColor’,[0 255 255]);
shg;
bbox = step(faceDetector, A);
% Draw boxes around detected faces and display results
A_faces = step(shapeInserter, A, int32(bbox));
axes(handles.axes7)
imshow(A_faces);

Leave a Reply