Skip to main content

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

Project description

eseg

Event-based depth/segmentation research package with ConvLSTM models, data utilities, and live camera streaming helpers.

Features

  • ConvLSTM-based models for event-stream inference
  • Event voxelization and preprocessing helpers
  • Utilities for HDF5/AEDAT4/RAW event data
  • Live streaming pipeline for Prophesee and DAVIS cameras
  • Training helpers (losses, plotting, and evaluation utilities)

Python compatibility

This release currently targets Python 3.12.

Installation

Install from PyPI:

pip install eseg

Install from source (development):

git clone <your-repository-url>
cd eseg
python -m venv .venv
source .venv/bin/activate  # Linux/macOS
pip install -e .[dev]

Optional runtime dependencies for live cameras

For camera streaming, install one or both vendor SDKs:

If you use GPU inference/training, install a CUDA-enabled PyTorch build first: https://pytorch.org/get-started/locally/

Quick start

import eseg
from eseg.models.ConvLSTM import EConvlstm

print(eseg.__version__)
model = EConvlstm(light=False)

Run live stream

python -m eseg.stream --help

Example:

python -m eseg.stream -m full --slice-time-ms 100

Development

Run tests:

pytest

License

MIT License. See LICENSE.

Notes

This is research-oriented software; interfaces may evolve between releases.

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.post1.tar.gz (29.8 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.post1-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eseg-1.1.0.post1.tar.gz
  • Upload date:
  • Size: 29.8 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.post1.tar.gz
Algorithm Hash digest
SHA256 0816e90624ece0d68e23ddc5b420ed3a25443cf504c60c7045ebdfd3fbf63f82
MD5 d9c34d638a9a3dd5c2a2a98c635515d8
BLAKE2b-256 bc84bd006a35d68e13179e2e5d34039e76d3d6cb2db977420d014e91aca2af7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eseg-1.1.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 31.0 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.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f2d2eef8af0a33f6dd5bcaf61034539433783cd67174d0495a61098dd951187
MD5 27b1917ed55d69607b6f7a8c978c9414
BLAKE2b-256 b724efbe377c57282a47f3ccb860da5c269b79e9514e434212a84a1e79e38a0b

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