From: Xanthy Kolovou on 20 May 2010 15:15 I am hoping to use Simulink / Matlab to do motion tracking of people from a live video source. I came across the "viptrackpeople" example using the simulink Video and Image Processing Blockset and it is almost exactly what I need. When I substitute a "From video device" block, until for the "From multimedia file" block (the field Video Format: YUY2_160x120, the field ROI position [r, c, height, width]: [0 0 120 160] ) I receive a few errors such as: i) block error insert text: s-function ''sviptextrender''... 9xN matrix. ii) block error MatrixConcetenate, Error in port widths or dimensions output port is a [120x160x9]. I am sure I am missing something very basic, I am new to Matlab / Simulink so please forgive me. Why can I not just substitute one block for another, how do I remedy this? Thank You.
From: Shankar on 9 Jun 2010 16:07 Hi Xanthy, I am assuming your camera is giving RGB output. Please do the following. 1. Drop the From Video Device block in the viptrackpeople demo model and double click and open its properties. 2. Select the required camera. 2.a. Check the default ROI setting in the mask. Change that to [0 0 120 160] 2.b. Check if you have a "Ports Mode" property. If you do, set it to "One multidimensional signal" 3. Type viplib in MATLAB command line to bring up VIP library. 3. a. Double click on "Conversions". 3. b. Drop the "Color space conversion" block in to the model. Double click on the block and set it to convert from R'G'B' to Intensity. You must have one input port and one output port. 3. c. Connect the From Video Device block to Color space conversion block. Connect the output of Color Space conversion block to "Background Estimator" subsystem. Now run the model and you should be all set. Thanks Shankar "Xanthy Kolovou" <kkolovou(a)ucg.gr> wrote in message <ht41oc$t1m$1(a)fred.mathworks.com>... > I am hoping to use Simulink / Matlab to do motion tracking of people from a live video source. I came across the "viptrackpeople" example using the simulink Video and Image Processing Blockset and it is almost exactly what I need. > > When I substitute a "From video device" block, until for the "From multimedia file" block (the field Video Format: YUY2_160x120, the field ROI position [r, c, height, width]: [0 0 120 160] ) I receive a few errors such as: > > i) block error insert text: s-function ''sviptextrender''... 9xN matrix. > > ii) block error MatrixConcetenate, Error in port widths or dimensions output port is a [120x160x9]. > > I am sure I am missing something very basic, I am new to Matlab / Simulink so please forgive me. Why can I not just substitute one block for another, how do I remedy this? > > Thank You.
From: nethaji anandhavalli on 3 Jul 2010 15:04 hi shankar, very happy to see ur post regarding live video tracking. pls shankar, could u send me the data (pdf file) regarding the live data regarding.pls send the information regarding live video tracking. pls help me. pls pls pls pls pls pls pls pls pls. pls pls pls. help me shankar. pls
From: nethaji anandhavalli on 4 Jul 2010 08:12 hello shankar, could u tell me the information regarding live video tracking. pls help me out man. pls. my mail id is mydreamprojects(a)yahoo.com
|
Pages: 1 Prev: Need Help Please!!! Regionprops... Next: "Copying" variables btw .mat files |