Implementing KLT face tracking on live webcam
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi all,
I am adapting, or trying to, the Computer Vision Example http://www.mathworks.co.uk/help/vision/examples/face-detection-and-tracking-using-the-klt-algorithm.html
to work with a live webcam stream, I have managed to initiate the webcam input as an object and can run the detection and tracking okish :) but will have to work through this which I should be able to (dont like to ask for help unless I really have to).
One bit which I do need help with is for me to perform further processing on each detected ROI I need to crop the frame to ROI and reorientate and possibly scale, the processing I need to do will be relative changes between frames mean intensities in each channel and then some jiggery pokery :) again all this I can work through and cope with.
The Demo code uses geometric transform to display a bounding box as a polygon around the detected section of image which is what I require.
I am just really banging my head against a wall with the reverse transform and crop.
Any help or pointers will be appreciated
0 comentarios
Respuestas (1)
Image Analyst
el 15 de Dic. de 2012
It's not clear what you need help with. You said you needed help with processing but then said you could work through it, presumably by yourself.
I know what cropping is, and to crop, use imcrop(), or simple indexing. But I don't know what a "reverse transform" means to you. What sort of reverse transforming do you want to do before the crop operation?
7 comentarios
Anandakumar Selvaraj
el 13 de Dic. de 2013
hello Daniel i was trying your code it works fine what i stuck with insted of video player i want to display the 'videoFrame' in a montage
videoFrame =(imcrop(videoFrame, [topLine, leftColumn, width, height]));
as a in Montage function but all the example i came across just shows how to convert montage from a set of images and not as videoFrames help me if you can
Ver también
Categorías
Más información sobre Computer Vision with Simulink en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!