Giter VIP home page Giter VIP logo

mushroom-pose's Introduction

Mushroom Segmentation and 3D Pose Estimation from Point Clouds using Fully Convolutional Geometric Features and Implicit Pose Encoding

This is the official PyTorch implementation of the "Mushroom Segmentation and 3D Pose Estimation from Point Clouds using Fully Convolutional Geometric Features and Implicit Pose Encoding" paper appeared in CVPRW 2023 (Vision for Agriculture).

Overview of the proposed system. Given a point cloud input of a mushroom scene, the proposed deep network predicts the three categories of task-relevant information. Using a mode-seeking clustering over the predicted centers we can provide the instance segmentation result. Then each mushroom region is processed as an ellipsoid structure and the corresponding 3D pose is estimated.

Installation

The deep learning backbone is a sparse 3D convolution network as in Fully Convolutional Geometric Features. This network requires to have a working version of Minkowski Engine. The following commands provided a working conda enviroment for a Python 3.9 setup with CUDA 11.7:

conda create -n mpose python=3.9
conda activate mpose

conda install openblas-devel -c anaconda
conda install pytorch=2.0.1 torchvision cudatoolkit=11.0 -c pytorch -c conda-forge
pip install -U git+https://github.com/NVIDIA/MinkowskiEngine -v --no-deps --install-option="--blas_include_dirs=${CONDA_PREFIX}/include" --install-option="--blas=openblas"

pip install open3d 

If Minkowski Engine installation fails, check out the alternatives in the original repo.

Demo

We provide a demo that can be used to test a pretrained model on some examples of pointclouds.

python run.py example_pcds/example_2.pcd trained_model.pt

The first argument is the path to the point cloud input, while the second is the path to a trained model. Both a set of inputs, as well as an already trained model are provided.

This code provides a visualization of the final detection through Open3D library. To also support headless executions, the visualization is depicted on localhost:8888 and a port forwarding is required.

Training

Further training can be performed via:

python train_scenes.pt

This code generates on the fly synthetic mushroom scenes and train the 3D model on them.

Citation

If you find this work useful, please consider citing:

@inproceedings{retsinas2023mushroom,
  title={Mushroom Segmentation and 3D Pose Estimation from Point Clouds using Fully Convolutional Geometric Features and Implicit Pose Encoding},
  author={Retsinas, George and Efthymiou, Niki and Maragos, Petros},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={6263--6270},
  year={2023}
}

Acknowledgements

We acknowledge the following repositories and papers that were used in this work:

mushroom-pose's People

Contributors

georgeretsi avatar

Watchers

 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.