I am seeing an error in the code for detecting objetcs in a video?

You posted this in the General Discussion category. Please move it to the relevant course category with the week and assignment number. Check this on how to change the category.