Skip to main content

Models and utilities for event-based depth / segmentation (Surreal benchmark).

Project description

Human Instance Segmentation using Evn

Features

  • ConvLSTM-based depth estimation model for event streams
  • MobileNetV2 feature encoder with UNet-like decoder
  • Event voxelization and augmentation utilities
  • Real-time camera viewers (Metavision / DAVIS) with overlay visualization
  • Mixed perceptual + edge loss utilities (LPIPS + Sobel)

Requirements

We implemented the dataviewers on Both dvprocessing and metavisionSDK

Please install metavisionSDK for Prophesee live camera.

⚠️ Warning DO NOT forget to set metavisionsdk in your python path especially for windows!

And / Or

dvprocessing for Davis Cameras

For hdf5 file we use metavisionSDK aedat files can be processed using dvprocessing

Pleas, before installing eseg install a GPU enabled pytorch here: https://pytorch.org/get-started/locally/

Installation

pip install eseg

(Once published to PyPI.)

For development:

git clone https://github.com/youruser/eseg.git
cd eseg
python -m venv .venv
source .venv/bin/activate  # Linux / macOS
pip install -e .[dev,viewer]

⚠️ Warning if you work on a virtualenvironment you will need to copy your global sdk library to your local environment

cp -r path/to/your/metavisionsdk/metavision_* <path/to/your/virtualenv/python<yourversion>/site-packages/

Quick Start

import torch
from eseg.models import ConvLSTM
# TODO: usage example after final API stabilizes

Live Stream

python -m eseg.live_stream

Testing

pytest

License

MIT. See LICENSE.

Disclaimer

Research code; APIs may change before 1.0.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eseg-1.0.4.tar.gz (24.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eseg-1.0.4-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file eseg-1.0.4.tar.gz.

File metadata

  • Download URL: eseg-1.0.4.tar.gz
  • Upload date:
  • Size: 24.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for eseg-1.0.4.tar.gz
Algorithm Hash digest
SHA256 834b6f803e91f41ec4e787eb42e0e7f2c394971c44379161759b6635325eabbf
MD5 f2272744b9e6382817c0aab2278f70bc
BLAKE2b-256 57afb1c098704553af3cb12da7cef95b893e7301835c03aa89b2bc5796de3167

See more details on using hashes here.

File details

Details for the file eseg-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: eseg-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for eseg-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5037330c0cfae0b88169ffe0f0103e8317f1dfc6c81708a3e4f4b490bc292ec4
MD5 1e1e488ba281a6767b60e6780c2da472
BLAKE2b-256 7c87befb0a7f48fb3dee5f436c0b56b5f16c5c3f2ddcc9dcbb236afde1d45e36

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page