Watch this Author's files
Hi! We built a active face tracker in Simulink using this code. We changed the last lines of the cpp-Part to:
cvReleaseImage( &gray ); cvReleaseMemStorage(&storage); cvReleaseHaarClassifierCascade(&cascade);
It runs on 6.2 fps with 288x384 Pixel Videoresolution. We tested it for over 20 minutes without crashing.
Contact us at files@mathworks.com