Illustrated C/C++ source sheets, symbol index, API relationship graph, compiler console and debug trace

LIVE AI / FLEXIBLE SENSING / FLIGHT CONTEXT

Sensoraia API

Live AI and sensing, connected to the flight.
See, listen, inspect and return supported results while airborne.

Loading...
Searching...
No Matches
aicam.cpp File Reference

Command-line entry point for the native AIcam photo worker. More...

#include <cstdio>
#include <cstring>
#include "imx500_camera.hpp"
#include "version.h"
Include dependency graph for aicam.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 Report CLI metadata or run the photo worker.

Detailed Description

Command-line entry point for the native AIcam photo worker.

Delegate camera ownership and the capture protocol to the shared IMX500 implementation. This entry point does not interpret neural outputs.

Definition in file aicam.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Report CLI metadata or run the photo worker.

Parameters
argcArgument count including the program name.
argvCommand-line vector; a leading photo-only marker is consumed here.
Returns
Zero for help or version, otherwise the worker's exit status.

Handle metadata requests before entering the worker so they do not require camera access.

Definition at line 34 of file aicam.cpp.