From 195cc5fc2e9d699ac853a86f246d8ac617cccb38 Mon Sep 17 00:00:00 2001 From: Jake Wilkinson Date: Sun, 9 Nov 2025 20:21:53 +0800 Subject: [PATCH] camera_module has full featured face detect --- build_cam.sh | 13 +++++ index.html | 10 +++- .../camera_module/camera_module.py | 51 ++++++++++++++++++- 3 files changed, 71 insertions(+), 3 deletions(-) create mode 100755 build_cam.sh diff --git a/build_cam.sh b/build_cam.sh new file mode 100755 index 0000000..1c18050 --- /dev/null +++ b/build_cam.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +cd ~/ros2_ws +source /opt/ros/kilted/setup.bash # Use system ROS setup if needed + +rm -rf build/camera_module install/camera_module log + +# Build only camera_module +colcon build --packages-select camera_module --event-handlers console_direct+ + +# Source overlay +source install/setup.bash +camera_module camera_module \ No newline at end of file diff --git a/index.html b/index.html index 19b9b25..91dd311 100644 --- a/index.html +++ b/index.html @@ -34,6 +34,13 @@ background: #d0f0c0; transition: background 0.5s ease; } + + #cameraImage { + display: block; + margin-top: 1em; + border: 1px solid #ccc; +} + @@ -55,7 +62,8 @@

Current publish rate: 1.0 Hz

Live Camera Feed

- Camera Feed + Camera Feed +