Has anyone done vehicle and pedestrian detection from video and calculating the speed from the video?
I need help on that.
Thank you!
Best Answer
Hello Hesam,
I understand that you’re looking for examples of how to detect vehicles and pedestrians in a video and calculate the speed. A useful resource is this page which has some examples from the Computer Vision Toolbox. If you wish to track multiple objects, like pedestrians and vehicles; this example may be useful to you as well.
Vision.VideoFileReader is the only input routine that can currently handle audio and video combined, andVision.VideoFileWriter is the only output routine that can currently handle audio and video combined.
The basic mechanism for trimming with them is to open the input, read and discard frames until you get to the point that you want to keep, and then start reading and writing the output.
Unfortunately the reader has no timecode information available, so if your input file is variable frame rate, there is no way to tell how far you are into the file other than frame number.
Best Answer