Loading...
Searching...
No Matches
inference_worker.h
Go to the documentation of this file.
19 * @brief Warm saved-picture processing without acquiring a camera or interpreting CAM results. */
29/** @brief Borrowed module callbacks; the worker serializes calls and retains no per-request pixel pointers.
46 * @return Minus one when this mode was not selected, zero on success, one on failure, two on misuse.
48int inference_worker_cli(int argc, char **argv, const struct inference_image_processor *processor);
bool(* ini_field_handler)(void *context, const char *key, const char *value)
Definition bounded_ini.h:35
Bounded JPEG-to-tensor preparation without running the graph or modifying the input file.
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.
Definition inference_worker.c:75
Independent, noncopyable model owner; mapped tensor buffers and session are reused between jobs.
Definition inference_model.h:43
Borrowed module callbacks; the worker serializes calls and retains no per-request pixel pointers.
Definition inference_worker.h:32
bool(* validate)(void *context, const struct inference_context *model, char *error, size_t capacity)
Definition inference_worker.h:38
bool(* write)(void *context, const struct inference_context *model, const char *image, uint32_t sequence, char *error, size_t capacity)
Definition inference_worker.h:36