Loading...
Searching...
No Matches
inference_worker.h File Reference
Warm saved-picture processing without acquiring a camera or interpreting CAM results. More...
#include "inference_jpeg.h"
Include dependency graph for inference_worker.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | inference_image_processor |
| Borrowed module callbacks; the worker serializes calls and retains no per-request pixel pointers. More... | |
Functions | |
| int | inference_worker_cli (int argc, char **argv, const struct inference_image_processor *processor) |
| Dispatch one-shot analysis, model checks or the persistent ANALYZE protocol. | |
Detailed Description
Warm saved-picture processing without acquiring a camera or interpreting CAM results.
Definition in file inference_worker.h.
Function Documentation
◆ inference_worker_cli()
| int inference_worker_cli | ( | int | argc, |
| char ** | argv, | ||
| const struct inference_image_processor * | processor ) |
Dispatch one-shot analysis, model checks or the persistent ANALYZE protocol.
- Parameters
-
argc Argument count including the executable. argv Borrowed command-line tokens; diagnostics use stderr, protocol replies stdout. processor Module contract whose callback/context lifetimes cover this call.
- Returns
- Minus one when this mode was not selected, zero on success, one on failure, two on misuse.
- Note
- Request numbers increase within a server lifetime to prevent stale reply association.
Definition at line 75 of file inference_worker.c.