Download firmware/src/camera.h from eoinedge/pose-micro: direct link, hf CLI and curl.
- Browser
- Download file 620 Bytes
-
https://huggingface.co/eoinedge/pose-micro/resolve/main/firmware/src/camera.h
- Command line
-
hf download hf://eoinedge/pose-micro/firmware/src/camera.h
-
curl -L -o camera.h https://huggingface.co/eoinedge/pose-micro/resolve/main/firmware/src/camera.h
620 Bytes
| /* Copyright (c) 2026 Eoin Jordan | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| extern "C" { | |
| /* Side of the colour picture the pose model takes. */ | |
| /* 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); | |
| } | |