No project description provided
Project description
AER-toolbox
This library intends to be a minimal tool for loading events from files with common event-camera file extensions into Python.
from aertb import FileLoader
datLoader = FileLoader('dat')
datLoader.load_events('../example_data/dat/cars/obj_004414_td.dat')
The library also includes a command line interface for converting files from a given extension to hdf5, as well as gif making capabilities for easy visualisation of the files.
Opening the CLI
-
In order to open it, navigate to path where the library is installed, in case of problems download you should download the project from github and follow the following instructions: - a
git clone ...- b Create a virual environment, if not installed runpip install virtualenv, thenpython3 -m venv aertb_env- c On Linux/MacOS runsource aertb_env/bin/activate- d Run the following command: 'pip install -r requirements.txt' -
Run
python3 .or execute the__main__.pyfile
Using the CLI
-
Once the CLI is open you get a a similar output on your terminal:
-
type
helpto see supported commands andhelp <topic>to get more info of the command
Examples:
Creating an HDF5 out of a directory
```
tohdf5 -f 'example_data/dat' -e 'dat' -o 'mytest.h5'
```
Directory should be structured:
|--Parent (given as parameter)
|-- A
|-- File1
|-- File2
|-- ....
|-- B
|-- File1
|-- File2
|-- ....
|-- ...
Creating an HDF5 out of a single file
```
tohdf5 -f 'example_data/bin/one/03263.bin' -o 'mytest2.h5'
```
Creating a gif out of a given file
```
makegif -f 'example_data/dat/cars/obj_004416_td.dat' -o 'decay.gif' -nfr 12 -g 'decay'
```
Exiting the CLI:
- type
quit - Exit virtual environment
deactivate
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file aertb-0.1.0.tar.gz.
File metadata
- Download URL: aertb-0.1.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e26047e8062e699d583cefdfa029128f760eaa19b4cdbb9aefa26194d2f4ef7d
|
|
| MD5 |
cf1531e13f434b6b088b36feb85c4cd0
|
|
| BLAKE2b-256 |
fdf3baa7c540deae218a1f6fcc70275bf5a5606877eaca5ab078ee8fdd1c4e9e
|