Code Monkey home page Code Monkey logo

Comments (2)

tianweiy avatar tianweiy commented on July 28, 2024
  1. figure 1 uses open3d. and only virtual points inside bounding boxes are highlighted. the right side of figure 1 is zoom in (in the ui) and screenshots. for figure 3, a,b,c are illustration plots I drew in keynotes, d is also a zoom in + screenshot.

  2. figure 4 is just matplotlib or something similar. We collapsed the z-xis of all lidar points and draw the boxes.

  3. I don't remember the details now but I think this config is similar to what we use https://github.com/xingyizhou/CenterNet2/blob/master/configs/nuImages_CenterNet2_DLA_640_8x.yaml

from mvp.

Adam1904 avatar Adam1904 commented on July 28, 2024

Is there any code for that, please? Figure 1 uses open3d, and only virtual points inside bounding boxes are highlighted. I tried using this code https://github.com/tianweiy/CenterPoint/blob/master/tools/visual.py, but it still doesn't work. I executed the following command:

python ./tools/visual.py --path ./dataa/nuScenes/samples/LIDAR_TOP_VIRTUAL/n008-2018-05-21-11-06-59-0400__LIDAR_TOP__1526915243047392.pcd.bin.pkl.npy

And I modified main in visual.py:

if __name__ == '__main__':
    parser = argparse.ArgumentParser(description="LIDAR_TOP_VIRTUAL")
    parser.add_argument('--path', help='path to visualization file', type=str)
    args = parser.parse_args()

    data = np.load(args.path, allow_pickle=True).item()
    virtual_points = data['virtual_points']

    pcd = o3d.geometry.PointCloud()
    pcd.points = o3d.utility.Vector3dVector(virtual_points[:, :3])

    o3d.visualization.draw_geometries([pcd])

However, it hangs and the result is not displayed. And how can i use detections and scores to plot boxes? any help?
thank you for ur reply

from mvp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.