Open dbdxnuliba opened 2 years ago
The python modules are supposed to be getting installed when you catkin build. Did you source your setup.bash after you built?
yes , i did , and it shows FileNotFoundError: [Errno 2] No such file or directory: '/home/robot/catkin_ws/src/point_cloud_segmentation-master/pcs_detection/scripts/example_data/trained_hist.npy'
but i can't find the file in the pcs_detection package :
I download the pkg in the master branch
The python modules are supposed to be getting installed when you catkin build. Did you source your setup.bash after you built?
more details, after I catkin build the workspace , pcs_detection install into /home/robot/ws_tesseract_new/devel/lib/python3/dist-packages
it there has also not trained_hist.npy
Oh I see. It looks like that is the histogram that is "trained" from the dataset and used for histogram backprojection. This repo was set up to either use that or fcn8. It looks like I didn't include any of the trained models here. I'm not immediately seeing the code to generate the histogram, but you can see this example. Basically I think you want the output of roihist = cv.calcHist([hsv],[0, 1], None, [180, 256], [0, 180, 0, 256] )
saved to a pickle.
after catkin build sucess , I roslaunch pcs_ros demo.launch ` <?xml version="1.0" ?>