Closed blakegong closed 4 years ago
Wait I realised the first commit has been fixed by #21, in a different way, alamah! Hold on
@alex-ong ready for review 🙏
OpenCV is different to File right?
Ok cool looks good; i think 1 second is a bit weird of a magic time; Does this ensure you get the latest frame in the configurator? Maybe we could change api to choose between buffered (dont drop frames) and latest
Haha yeah 1 second is a magic number. It's because OpenCV capture were actually written in a slightly different way than others.
All the other capturing method doesn't do any buffering right now.
I think if one day you think capturing source buffering is needed, and have a universal way to do it, then we just do it, including changing this magic number. Before that, having this magic number on OpenCV only should be fine.
😄 Please check the commit message for detailed description 🙏