image-to-3d-bbox icon indicating copy to clipboard operation
image-to-3d-bbox copied to clipboard

The dataset format

Open lucasjinreal opened this issue 7 years ago • 7 comments

Hi, I just found you are an expert in detection. May I raise a question about this repo?

What's the data format in predict 3d box, we using detection dataset which is bouding box or we using 3d dataset with 3d bouding box? If using label with 3d bouding box, where should we found the datasets.

lucasjinreal avatar Oct 27 '17 12:10 lucasjinreal

@jinfagang Input is the image patch defined by the 2D bounding box. Labels (output) are car dimension and orientation angle, estimated from 3D bounding box.

You can find the dataset with 2D bounding and 3D bounding boxes at http://www.cvlibs.net/datasets/kitti/eval_object.php?obj_benchmark=3d. I used this one in the project.

experiencor avatar Oct 27 '17 14:10 experiencor

@experiencor Hi, what is the video predict data from? Seems if I want to predict on a video, I also need a calib file to calib camera, what if I want predict from a drive video record by myself?

lucasjinreal avatar Oct 30 '17 01:10 lucasjinreal

I got the video from here http://www.cvlibs.net/datasets/kitti/raw_data.php. Only a number of videos has labels. You need to download the right one, says "2011_09_26_drive_0084 (1.5 GB)".

You don't need the calib files if you only want to predict the orientation of the car. But you do need the calib files to overlay the predicted 3D onto the 2D images. Overlaying with calib files is also possible. The method is described in that paper. I'm not sure about this part though.

experiencor avatar Oct 31 '17 13:10 experiencor

Thanks a ton! I will check that later.

lucasjinreal avatar Oct 31 '17 13:10 lucasjinreal

Hi, @jinfagang did you figure out where are the labels for the video I am having the same issue just as here

jediofgever avatar Dec 14 '17 04:12 jediofgever

Hi, @jinfagang , in your file 3D_Box_Regression.ipynb you have a line commented out: #model.load_weights('initial_weights.h5') Does it help to have the initial weights to shorten training? If so, can you tell me where can I download the weights?

radzfoto avatar Apr 17 '18 22:04 radzfoto

@radzfoto I dont think that model is neccessary, just train a model from scratch. I am still training the model, after that, I will post some result about this.

lucasjinreal avatar Oct 29 '18 08:10 lucasjinreal