All Projects → stereolabs → zed-pytorch

stereolabs / zed-pytorch

Licence: MIT license
3D Object detection using the ZED and Pytorch

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
Cuda
1817 projects

Projects that are alternatives of or similar to zed-pytorch

zed-openpose
Real-time 3D multi-person with OpenPose and the ZED
Stars: ✭ 37 (-9.76%)
Mutual labels:  stereo-vision, zed-camera
zed-ros2-wrapper
ROS 2 wrapper beta for the ZED SDK
Stars: ✭ 61 (+48.78%)
Mutual labels:  stereo-vision, zed-camera
zed-matlab
ZED SDK interface sample for Matlab
Stars: ✭ 23 (-43.9%)
Mutual labels:  stereo-vision, zed-camera
zed-oculus
ZED Viewer for Oculus Rift
Stars: ✭ 27 (-34.15%)
Mutual labels:  stereo-vision, zed-camera
image-segmentation
Mask R-CNN, FPN, LinkNet, PSPNet and UNet with multiple backbone architectures support readily available
Stars: ✭ 62 (+51.22%)
Mutual labels:  mask-rcnn
ONNX-HITNET-Stereo-Depth-estimation
Python scripts form performing stereo depth estimation using the HITNET model in ONNX.
Stars: ✭ 21 (-48.78%)
Mutual labels:  stereo-vision
mobilestereonet
Lightweight stereo matching network based on MobileNet blocks
Stars: ✭ 92 (+124.39%)
Mutual labels:  stereo-vision
Pandora
A stereo matching framework that will help you design your stereo matching pipeline with state of the art performances.
Stars: ✭ 31 (-24.39%)
Mutual labels:  stereo-vision
RealtimeStereo
Attention-Aware Feature Aggregation for Real-time Stereo Matching on Edge Devices (ACCV, 2020)
Stars: ✭ 110 (+168.29%)
Mutual labels:  stereo-vision
zed-unreal-examples
Stereolabs ZED - UE4 Examples
Stars: ✭ 75 (+82.93%)
Mutual labels:  zed-camera
Openmvs
open Multi-View Stereo reconstruction library
Stars: ✭ 1,842 (+4392.68%)
Mutual labels:  stereo-vision
sparse-scene-flow
This repo contains C++ code for sparse scene flow method.
Stars: ✭ 23 (-43.9%)
Mutual labels:  stereo-vision
semi-global-matching
Semi-Global Matching
Stars: ✭ 122 (+197.56%)
Mutual labels:  stereo-vision
StereoVisionforADAS
Stereo vision based object detection for ADAS, autonomous vehicle
Stars: ✭ 137 (+234.15%)
Mutual labels:  stereo-vision
RoboVision
Attempting to create a program capable of combining stereo video input , with motors and other sensors on a PC running linux , the target is embedded linux for use in a robot!
Stars: ✭ 21 (-48.78%)
Mutual labels:  stereo-vision
jpp
Joint Perception and Planning For Efficient Obstacle Avoidance Using Stereo Vision
Stars: ✭ 42 (+2.44%)
Mutual labels:  stereo-vision
Awesome 3dreconstruction list
A curated list of papers & resources linked to 3D reconstruction from images.
Stars: ✭ 3,151 (+7585.37%)
Mutual labels:  stereo-vision
dispflownet-tf
Tensorflow implementation of https://lmb.informatik.uni-freiburg.de/Publications/2016/MIFDB16 + pretrained weights + implementation of "Unsupervised Adaptation for Deep Stereo" (ICCV 2017)
Stars: ✭ 18 (-56.1%)
Mutual labels:  stereo-vision
IRONSIDES
Trifo Ironsides SDK
Stars: ✭ 17 (-58.54%)
Mutual labels:  stereo-vision
instance-segmentation
No description or website provided.
Stars: ✭ 40 (-2.44%)
Mutual labels:  mask-rcnn

3D Mask R-CNN using the ZED and Pytorch

The ZED SDK can be interfaced with Pytorch for adding 3D localization of custom objects detected with MaskRCNN. In this Python 3 sample, we will show you how to detect, segmente, classify and locate objects in 3D space using the ZED stereo camera and Pytorch.

Installation

Dependencies

The 3D Object Detection project depends on the following libraries:

  • Python 3
  • CUDA
  • ZED SDK (Python API)
  • Pytorch
  • OpenCV
  • Apex

Getting Started

ZED SDK Installation

Install the ZED SDK and the ZED Python API.

Pytorch Installation

Using Conda (recommended)

The CUDA version must match the one used for the ZED SDK, in that case CUDA 10.0. A dedicated environment can be created to setup Pytorch, but don't forget to activate it, especially when installing MaskRCNN.

conda create --name pytorch1 -y
conda activate pytorch1
conda install pytorch torchvision cudatoolkit=10.0 -c pytorch
conda install --yes --file requirements.txt

Note: Do not forget to install Python API inside your current environment.

Using Pip

pip3 install torch==1.4.0+cu100 torchvision==0.5.0+cu100 -f https://download.pytorch.org/whl/torch_stable.html
pip3 install -r requirements.txt

For more information please refer to this page https://pytorch.org/get-started/locally/.

Apex Installation

We make use of NVIDIA's Apex API. To install it, run the following:

$ git clone https://github.com/NVIDIA/apex
$ cd apex
$ python3 setup.py install

Mask R-CNN Installation

Setup Mask R-CNN. If you're using a conda environment, make sure it is still active before running the following commands.

$ git clone https://github.com/facebookresearch/maskrcnn-benchmark.git
$ cd maskrcnn-benchmark
$ python setup.py install

Running the sample

Download the sample code from this repository. We provide a simple webcam demo that illustrates how you can use maskrcnn for inference :

python zed_object_detection.py --config-file configs/caffe2/e2e_mask_rcnn_R_50_C4_1x_caffe2.yaml --min-image-size 256
# A SVO file can be loaded
python zed_object_detection.py --svo-filename path/to/svo_file.svo

# for best results, use min-image-size 800
python zed_object_detection.py --min-image-size 800

# or change the model that you want to use
python zed_object_detection.py --config-file configs/caffe2/e2e_mask_rcnn_R_101_FPN_1x_caffe2.yaml --min-image-size 300

# in order to see the probability heatmaps, pass --show-mask-heatmaps
python zed_object_detection.py --min-image-size 300 --show-mask-heatmaps

# for the keypoint demo
python zed_object_detection.py --config-file configs/caffe2/e2e_keypoint_rcnn_R_50_FPN_1x_caffe2.yaml --min-image-size 300

# can also run it on the CPU
python zed_object_detection.py --min-image-size 300 MODEL.DEVICE cpu

The model are downloaded automatically

Model Zoo and Baselines

Pre-trained models can be found in other/MODEL_ZOO.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].