I am currently working on creating a program that will go to the spectral workbench page, login, take a spectrum reading, and export the data. I want this to run in the background and not open a web browser. I am running this program on a Raspberry PI 2 and am using python as my programming language. I tried using the requests module to do this, but I ran into problems. Are there any good, easy to use modules that can be used for this, or are there any modules that the spectral workbench team would recommend for this? Thanks!
Hi! We just released a Node.js version of the core library here: https://github.com/publiclab/spectral-workbench.js
I think it'd be possible to take the image data and use the
node-canvas
module to extract data from an image headlessly; and there are node.js ways to capture from a webcam too. So you could try to run the whole thing offline using just Node.js.I have an open issue for using
node-canvas
-- https://github.com/publiclab/spectral-workbench.js/issues/2I don't know if you code any JavaScript but this seems like a good point to start from. Sounds interesting!
Reply to this comment...
Log in to comment