API Reference
Info, warning, error, success, and debug logging.
Read and update app settings such as verbose mode, ADB, and OCR.
Register no-arg handlers and build nested menus.
Console banners, headers, and screen control helpers.
adb = ADBController()
cv = OpenCVImageTools()
ocr = TesseractOCR()
adb.screenshot("screen.png")
image = cv.load_image("screen.png")
gray = cv.to_grayscale(image)
text = ocr.extract_text("screen.png")
TerminalOS is built to make this kind of multi-library workflow easy and repeatable.
{
"verbose": false,
"adb": {
"adb_executable": "adb",
"device_serial": "",
"timeout": 30
},
"ocr": {
"tesseract_cmd": "tesseract",
"language": "eng",
"psm": 3,
"oem": 3,
"timeout": 30
},
"cron_tasks": []
}