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.1.0.tar.gz (30.0 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.1.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for eseg-1.1.0.tar.gz
Algorithm Hash digest
SHA256 28dc87230da19ef86dfdab7902bbd46450b504dcc529622a1073d35f7bbfd84b
MD5 206162e87e791ea0c095d90b426f68e1
BLAKE2b-256 24ee9d6c9ec1be26479b2012328663fb0a992d0c250cf3be299651789508195b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eseg-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.1 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7bb5ddd7866c6037ab93e946b4e30d233e2e9bbb483f04715dcfda12f544d6e2
MD5 083e2700eafb13ecf4f76bd38d96099e
BLAKE2b-256 1ada89a9191805bfd63a4f3982b1f1b4aaf86785134ddbed8dd77079e973429b

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