/* Copyright (c) 2026 Eoin Jordan * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include #ifdef __cplusplus extern "C" { #endif /* Side of the colour picture the pose model takes. */ #define APP_RGB_SIDE 96 /* Bring up the camera chosen in devicetree (zephyr,camera) at 160x120 RGB565 * and start streaming. Returns 0 or a negative errno. */ int app_camera_init(void); /* Block for the next frame, centre-crop to a square and box-reduce it to * 96 x 96 RGB565 in host byte order (`out`, row-major, 9216 pixels). */ int app_camera_capture_rgb565(uint16_t *out); #ifdef __cplusplus } #endif