How christophemura/tab_hse works
TAB_HSE is an embedded camera-and-inference application: it initializes the display/UI and network, starts the model, then streams camera frames to inference; the UI can publish a critical request. The tree also contains substantial ESP-Hosted and video/ISP subsystems, so these appear as supporting capabilities rather than assumed app call chains. The application’s app_video, inference, UI, and network implementations are not present in the supplied tree; connections beyond calls visible in main.c are omitted. The ISP configuration path is supported by the sampled pipeline source.
Main entry points: main.c Application startup · src Status UI · eh_cp_core.c Coprocessor core · esp_video_isp_pipeline.c ISP pipeline
Components 18
TAB HSE app
- Application startup
src/main.c - Status UI
src - Network client
src - Inference model
src
Camera and ISP
- Video capture stream
src - ISP pipeline
components/esp_video/src/esp_video_isp_pipeline.c - Image algorithms
components/esp_ipa/include/esp_ipa.h
ESP-Hosted connectivity
- Host core
components/esp_hosted/host/eh_host_core/src/eh_host_core.c - Linux host driver
components/esp_hosted/host/linux/eh_host_linux_kmod/driver/src/main.c - RPC protocol v2
components/esp_hosted/common/serializers/eh_proto_v2/src/gen_v2.c - Host features
components/esp_hosted/host/features
Coprocessor features
- Coprocessor core
components/esp_hosted/coprocessor/eh_cp_core/src/eh_cp_core.c - CP transports
components/esp_hosted/coprocessor/eh_cp_transport/src - Wi-Fi feature
components/esp_hosted/coprocessor/features/eh_cp_feat_wifi/src/eh_cp_feat_wifi.c - RPC extensions
components/esp_hosted/coprocessor/features/eh_cp_feat_rpc_ext_v2/src/eh_cp_feat_rpc_ext_v2.c
Other components
- Operator
- Linux network stack
- Camera device
Connections 18
- Operator → Status UI: interacts
src/main.c - Application startup → Status UI: initializes
src/main.c - Application startup → Network client: starts
src/main.c - Network client → Status UI: reports status
src/main.c - Status UI → Network client: publishes request
src/main.c - Application startup → Inference model: initializes
src/main.c - Application startup → Video capture stream: starts stream
src/main.c - Camera device → Video capture stream: supplies frames
src/main.c - Video capture stream → Inference model: submits frames
src/main.c - ISP pipeline → Image algorithms: uses metadata
components/esp_video/src/esp_video_isp_pipeline.c - ISP pipeline → Camera device: configures camera
components/esp_video/src/esp_video_isp_pipeline.c - Linux network stack → Linux host driver: uses driver
- Host core → Host features: supports
- Coprocessor core → CP transports: uses transport
- Coprocessor core → Wi-Fi feature: hosts feature
- Coprocessor core → RPC extensions: hosts extension
- RPC extensions → RPC protocol v2: serializes RPC
- Host features → RPC protocol v2: exchanges RPC