/Dropbox/MATLAB/detect_bg_subtraction_cl
The implementation was done in exactly the same way as with the Creative Live! webcam. The reason for making an extra version is different resolution of the image from the camera. The width and height of the video frames appear as constants in quite a lot of locations in the S-function, so it was easier to make an extra version of the same function instead of rewriting the constants in the S-function every time we want to switch from one camera to another.
 |
Region of interest with the estimated position of the center of the ball |
 |
Screenshot from live video with estimated center of the ball marked with green square |
No comments:
Post a Comment