Giter Site home page Giter Site logo

ipa-bin-picking-dataset-generation's Introduction

Bin Picking Dataset Generation Environment

The scripts uses Pybullet and Open3D to create virtual clutter bin scenario dataset (rbg, depth, segmentation, point cloud) for AI training

Dependencies

  • Open3D
  • Pybullet

Steps to run and collect data

All 3 scripts mentioned below will use the predefined setting to generate dataset and folders.
You might need to change the generation parameters in data_generation_setting.json

  1. Launch Pybullet to drop items

    python 1_pybullet_create_n_collect.py

    This step will:

    • create pybullet virtual scene with a bin
    • drop N x item(s)
    • record the item poses
    • record the image (rgb,depth,segmatation)
    • clear the scene and repeat with N+1 until maximum limit
  2. Use Open3d to reconstruct the full scene

    python 2_open3d_reconstruct_pcd_scene.py

    This step will:

    • reconstruct the full scene base on the item poses record in step 1
    • compute the center scores based on the object model for each points
    • record and save the point cloud data with center score and segment index
  3. Filter reconstructed data based on camera FoV

    python 3_generate_pcd_fov_points.py

    This step will:

    • Filter the full scene point cloud data ((remove blocked points ) based on camera pose
    • save the filtered data into .H5 format

Example on the captured data

full pointcloud image info crop pointcloud image info

About Object Model

Model preparation:

  1. Get your model in .obj format
  2. Convert .obj with refine collision model ( change the path folder inside the script)

    run util/convert_obj_convexhull.py

  3. Follow other model template to create a .urdf model

Note: make sure the object generate from .urdf is having the same orientation as the orientation from .obj

Acknowledgemets

Thanks for YaJun for providing the initial code for this development.

The Gear and Ring model included in this repo is from IPA Dataset learn more

The dataset is generate and recorded base on the steps mentioned in IPA Dataset.

ipa-bin-picking-dataset-generation's People

Contributors

waiyc avatar

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.