Closed Femi1984 closed 8 months ago
Hi, Yes, OAK D Lite can perform spatial detections. In this repository we have several code examples, could you add more information as mentioned in bug report template?
I'm not getting any errors. I'm launching the example_marker_publisher from the depthai_ros_driver repository. When launched, the raw_image shows in rviz, but //oak/nn/ text_marker does not show. When I echo the /oak/nn/text_marker topic, no data is passing through it.I'm trying to accomplish spatial_mobilenet.py from the depthai_python example repository with the oak d lite in ros. I'm not sure how to go about this
Hi, can you try launching spatial_bb launch and see if that works for you?
I'm using foxy, 20.04
This is error that I'm gettin
[component_container-2] [ERROR] [1693941467.630870360] [oak_container]: Component constructor threw an exception: IMU(12) - IMU invalid settings!: IMU not detected. Your board doesn't have IMU or requires firmware update (Set imu.enableFirmwareUpdate(True) explicitly.). 1, 321
[ERROR] [launch_ros.actions.load_composable_nodes]: Failed to load node 'oak' of type 'depthai_ros_driver::Camera' in container '/oak_container': Component constructor threw an exception: IMU(12) - IMU invalid settings!: IMU not detected. Your board doesn't have IMU or requires firmware update (Set imu.enableFirmwareUpdate(True) explicitly.). 1, 321
[component_container-2] [INFO] [1693941467.639676439] [oak_container]: Load Library: /opt/ros/foxy/lib/librectify.so
[component_container-2] [INFO] [1693941467.648952381] [oak_container]: Found class: rclcpp_components::NodeFactoryTemplate
Hi, Foxy distribution is not supported as it is EOL. To try out SpatialBB, you could try running it in docker as such:
docker run -it -v /dev/:/dev/ --privileged -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix luxonis/depthai-ros:v2.8.0-humble ros2 launch depthai_filters spatial_bb.launch.py
Closing due to inactivity, please reopen if you have further questions/remarks.
Can Oak D Lite camera do object and spatial detection? If so what are the specific params that need to be considered to make it possible. I'm having a hard time making the camera do object detection with this depth-ros package. The RGB and spatial shows in output image but no detection