Open llianc62 opened 2 years ago
after search by google, I have got this: https://stackoverflow.com/questions/52068277/change-frame-rate-in-opencv-3-4-2
this may help us https://github.com/hybridgroup/gocv/blob/release/videoio.go#L379
You should use webca.Grab(webcam.Get(gocv.VideoCaptureFPS) - yourFps)
to skip frames before calling webcam.Read()
When I set
VideoCaptureFPS
property it does do changed.Description
I wanna change the frame rate of reading video.
Steps to Reproduce
here is my code:
output:
Your Environment
go version go1.15.15 linux/amd64
env.sh
orenv.cmd
script before trying togo run
orgo build
? N