Deep_Object_Pose icon indicating copy to clipboard operation
Deep_Object_Pose copied to clipboard

cannot get any image from camera

Open qq4060 opened this issue 7 years ago • 13 comments

hi I just run and cannot get any image from camera ,ut shows:

~/catkin_ws$ rosrun dope camera.py 
Publishing images from camera 0 to topic '/dope/webcam_rgb_raw'...
Ctrl-C to stop
^Cqq4060@qq4060-To-be-filled-by-O-E-M:~/catkin_ws$ rosrun dope camera.py 
Publishing images from camera 0 to topic '/dope/webcam_rgb_raw'...
Ctrl-C to stop

and also shows

~/catkin_ws$ rosrun dope dope.py
Loading DOPE parameters from '/home/qq4060/catkin_ws/src/dope/config/config_pose.yaml'...
    Parameters loaded.
Loading DOPE model '/home/qq4060/catkin_ws/src/dope/weights/soup_60.pth'...
    Model loaded in 4.77608513832 seconds.
Running DOPE...  (Listening to camera topic: '/dope/webcam_rgb_raw')
Ctrl-C to stop

Thank you very much!

qq4060 avatar Nov 23 '18 17:11 qq4060

This looks great to me. Do you see the /dope/webcam_rgb_raw topic in rviz?

TontonTremblay avatar Nov 23 '18 17:11 TontonTremblay

OH I CANNOT SEE ANY OTHER THINGS OPEN OR RVIZ

qq4060 avatar Nov 23 '18 19:11 qq4060

hi it is like this?Thanks image

qq4060 avatar Nov 29 '18 12:11 qq4060

Hi, have you tried to train your model with pytorch?

yuzw213 avatar Nov 30 '18 08:11 yuzw213

Hi, have you tried to train your model with pytorch?

SORRY HOW TO TRAIN? use this line"$ rosrun dope dope.py [my_config.yaml] # Config file is optional; default is config_pose.yaml"?

qq4060 avatar Nov 30 '18 09:11 qq4060

Well. Can you see the effect of dope in rviz? At present, I can only use six models provided by invidia, but I want to train my own model, which needs pytorch

yuzw213 avatar Nov 30 '18 09:11 yuzw213

CAN YOU SHOW ME YOUR EFFECT ? I CANNOT SEE ANYTHING IN MY RVIZ.

it said

This is the official DOPE ROS package for detection and 6-DoF pose estimation of known objects from an RGB camera. The network has been trained on the following YCB objects: cracker box, sugar box, tomato soup can, mustard bottle, potted meat can, and gelatin box. For more details, see our CoRL 2018 paper and video.

Note: Currently this package contains inference only.

qq4060 avatar Nov 30 '18 09:11 qq4060

First you may need the six models or pictures provided by invidia. In rviz, set the image topic to: / dope / rgb_points, and then point the camera at your model or picture.

yuzw213 avatar Nov 30 '18 09:11 yuzw213

Thanks, Is the six models or pictures provided by invidia in this step ? YCB 3D Models DOPE returns the poses of the objects in the camera coordinate frame. DOPE uses the aligned YCB models, which can be obtained using NVDU (see the nvdu_ycb command).

qq4060 avatar Nov 30 '18 09:11 qq4060

Yes, but you can search the pictures of the six models online first. Nvdu and NDDs are used to train YCB model data. It seems that pytorch will be used in the end. It's a bit troublesome. We can exchange and study together at that time. I hope it will be helpful to you.

yuzw213 avatar Nov 30 '18 09:11 yuzw213

how about this they said no train code

https://github.com/NVlabs/Deep_Object_Pose/issues/5

qq4060 avatar Nov 30 '18 10:11 qq4060

No, you can study it. I'm also trying to train my model.

yuzw213 avatar Nov 30 '18 10:11 yuzw213

OK Thanks a lot!

qq4060 avatar Nov 30 '18 10:11 qq4060