Comments (4)
Any help ?
from ros_deep_learning.
Hi @kleanbotmk2, I don't think this is so much a question specific to ros_deep_learning as it is with setting up your ROS2 launch files. For two cameras, you would make two video_source nodes. They can both share the same detectnet node though, because detectnet is stateless and doesn't care where each independent image comes from. That will also avoid you from re-loading the detection DNN twice.
from ros_deep_learning.
Hi @dusty-nv and thanks for your reply.
To be more precise I want to keep the 2 camera streams seperated from each other, because I want to perform simple stereo detection, with a Left and a Right Camera, so I need to have a BBox for the Left cam, and an BBox for the Right one...
Then I intend to determine the depth of the recognised object from the bbox lateral speration in pixels... So I have to know where the BBox come from, Left or Right... If I subscribe to the 2 camera at the input, then feed the Detectnet as you suggest, this one will provide Bbox and overlay image through a single output, independant from the origin of the image, what I want to avoid...
I do want to be able to publish two different outputs.
Thanks again for you help
from ros_deep_learning.
Hi @kleanbotmk2,
I am working on similar problem. What I did, I used USB_CAM nodes to read from cameras. Then create a node read the cameras output topic.
In my case, I need to switch between the cameras, so each time I am read frame from one of the cameras, I will publish the one I want to the output topic which is used as input to the model node.
But, in your case, I think you could marge both of the frames in one image, then publish is it to by the output topic, which will be used as input to the model.
You could check this post https://stackoverflow.com/questions/72690021/how-to-process-a-image-message-with-opencv-from-ros2.
from ros_deep_learning.
Related Issues (20)
- Format for class labels file and class colors file ? HOT 2
- Using ros2 bag file as an input
- ROS Noetic Distro HOT 1
- Jetson Orin/Jetson Nano Ros Deep Learning HOT 2
- CLI Syntax for input-codec=mjpeg HOT 3
- Jetson inference HOT 5
- failed to find model manifest file 'networks/models.json' HOT 4
- Ros Deep Learning on x86 HOT 3
- using realsense rostopic to stream HOT 2
- Not a bug persay but a question! HOT 6
- bbox information via the /detectnet/detections topic using a subscibrer HOT 4
- how can i use my own ONNX model with ros_deep_learning package ? HOT 17
- Error following the guide ,Orin NX JP5.1.2 NVME HOT 2
- Using custom trained model with ROS Deep Learning
- set precision to fp32 HOT 2
- Video RTSP streaming HOT 1
- Using realsense camera
- How to acces the center.x value in detectnet/detections HOT 1
- Performance drop in ROS node vs. standalone execution of detectnet mobilenet-ssd-v2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros_deep_learning.