This will allow for use on different computers and with weird USB cameras.
My USB camera is aliexpress breed, which is quite picky about resolution+fps combinations. Also as I am using notebook as a device for doing analysis, the video0 is typically internal camera.
I came across https://github.com/leswright1977/PySpectrometer/pull/13 only after introducing these changes, but approach seems to be quite compatible. I would also like to second @rafl question about code organization and suggest having just one file pyspectrometer.py and use git tags for version tracking.
This will allow for use on different computers and with weird USB cameras.
My USB camera is aliexpress breed, which is quite picky about resolution+fps combinations. Also as I am using notebook as a device for doing analysis, the
video0
is typically internal camera.I came across https://github.com/leswright1977/PySpectrometer/pull/13 only after introducing these changes, but approach seems to be quite compatible. I would also like to second @rafl question about code organization and suggest having just one file
pyspectrometer.py
and use git tags for version tracking.