For each frame number of blocks containing moving object


can someone please code this simple background subtraction but with height and width ratio to detect a human being.

Please! I so badly need it for my dissertation,, cant make a loop that would subtract the every frame from background and at the same time when an object is detected it would checked if it satisfy the given height and width ratio..that would lead to detecting if its a human being or not. THANK YOU IN ADVANCE..

Algorithm for human detection

1. Begin

2. Read the original and background eliminated videos using mmreaderfunction in MATLAB.

3. Extract the number of frames and frame size.

4. Pre-allocate output video structure assigning zeros to all its elements.

5. Make the pixels corresponding to moving object white and the rest black.

6. For each frame number of blocks containing moving object are checked to satisfy H/W ratio depending on area covered by camera.

7. Draw top, bottom, left and right lines in red color to highlight the detected human.

8. End

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: For each frame number of blocks containing moving object
Reference No:- TGS02928141

Expected delivery within 24 Hours