AI CAPTURE Logo

Command Help

Descriptions of built-in commands available in AI CAPTURE OS

aicap

Executes camera frame capture and push notifications to your smartphone.

Usage

aicap [command] [options]


Commands

CommandDescription
push Sends a push notification to your smartphone.
When a push is sent, a tag is automatically added to the recording timeline, allowing you to reference and seek that time in the app.
You can also attach detection data to verify detection status in real-time.
get_frameCaptures and saves the current camera frame.

Options for the push command

OptionDescription
-t, --timeUnix timestamp (seconds). Defaults to the current time.
-i, --imagePath to a JPEG image. Defaults to the current camera frame.
Specify “-” to read the image from standard input.
-j, --jsonPath to a JSON file containing data to be pushed with the image.
Format must be JSON. If omitted, an empty JSON is sent.
-J, --json-strJSON string to be pushed together with the image.
If -j is also specified, the file input takes precedence.

Options for the get_frame command

OptionDescription
-o, --outputOutput file path for the captured camera frame (JPEG).
If omitted, outputs to standard output.

Examples
# push command aicap push -J '{"detected": true, "data": 0.12345}' # get_frame command aicap get_frame -o /tmp/frame.jpg
ramdisk

In AIBOX OS, the disk is converted to a RAM disk, except for /home.

With this command, you can enable/disable the RAM disk and check its status.

For a detailed explanation of the RAM disk, please see here.

Usage

ramdisk [command]


Commands

CommandDescription
enableEnable the RAM disk (requires sudo).
disableDisable the RAM disk (requires sudo).
statusDisplay current RAM disk status (enable / disable).

Examples
# Enable the RAM disk sudo ramdisk enable # Check status ramdisk status # Disable the RAM disk sudo ramdisk disable