Clear Filters
Clear Filters

Shorten working time to 'from video device'

3 views (last 30 days)
gilad ash
gilad ash on 21 Jun 2022
Answered: Vidip Jain on 27 Sep 2023
Hi
I am using the block "From Video Device" and i want to shorten the working time of this bloke, somting like 2 sec
thenks for helping

Answers (1)

Vidip Jain
Vidip Jain on 27 Sep 2023
I understand you want to shorten the working time for ‘from video device’ block.
The block sample rate is a parameter that can be used to control the rate at which the "From Video Device" block captures and outputs frames. The block sample rate is specified in frames per second (FPS).
To shorten the working time of the "From Video Device" block, you can increase the block sample rate. This will cause the block to capture and output frames more quickly.
It is important to note that shortening the working time of the "From Video Device" block may also reduce the quality of the video stream. So, experimentation needs to be done with different settings to find the best balance between performance and quality.
For further information, refer to the documentation links below:

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!