gotermux
gotermux copied to clipboard
Add implementation of the termux-camera-info & termux-camera-photo
With Termux-camera-info
problems can arise due to the fact that sometimes the wrong JSON returns.
API: https://wiki.termux.com/wiki/Termux-camera-info
Description: Get information about device camera(s).
Options: none
API: https://wiki.termux.com/wiki/Termux-camera-photo
Description: Take a photo and save it to a file in JPEG format.
Options:
-c camera-id ID of the camera to use (see termux-camera-info), default: 0