# Copyright (c) 2026 Eoin Jordan # SPDX-License-Identifier: Apache-2.0 # # Extra config for the live-camera mode on xiao_esp32s3/esp32s3/procpu/sense: # west build -b xiao_esp32s3/esp32s3/procpu/sense pose-micro/firmware -- -DEXTRA_CONF_FILE=camera.conf CONFIG_APP_CAMERA=y CONFIG_VIDEO=y CONFIG_LOG=y CONFIG_LOG_MODE_DEFERRED=y # printk goes straight to the console, so results are not dropped or # reordered behind log lines. CONFIG_LOG_PRINTK=n # Two 160x120 RGB565 frames (38400 B each) in internal SRAM, no PSRAM needed. CONFIG_VIDEO_BUFFER_POOL_NUM_MAX=2 CONFIG_VIDEO_BUFFER_POOL_HEAP_SIZE=81920 CONFIG_VIDEO_BUFFER_POOL_ALIGN=32 CONFIG_DMA_ESP32_MAX_DESCRIPTOR_NUM=64 # The camera sends the high byte of each RGB565 pixel first, and the model # needs the colours right. CONFIG_APP_CAMERA_SWAP_BYTES=y # The heat a keypoint needs to count as found on camera frames, in percent. # Try values with '+' and '-' on the console, then keep the one that suits # your camera and lighting here. CONFIG_APP_POSE_THRESHOLD_PERCENT=30