Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: RaymondCM
  • Language: Python
  • Default Branch: main
  • Size: 96.7 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 5 years ago · Last pushed about 4 years ago
Metadata Files
Readme Citation

README.md

Realsense Example

This file will save and visualise data from an Intel Realsense camera. Tested with python>=3.7.

Installation

Ubuntu (debian)

First install librealsense on your system. Instructions below accurate on 1st of April 2021.

```bash

Install librealsense (up to date instructions here https://github.com/IntelRealSense/librealsense)

sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE

Ubuntu 16 run this

sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" -u

Ubuntu 18 run this

sudo add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u

Install libraries

sudo apt update sudo apt install librealsense2-dkms sudo apt install librealsense2-utils ```

Then install this repository.

```bash

Clone the repo

git clone https://github.com/RaymondKirk/realsensesaveexample cd realsensesaveexample

Install > python3.7 (if you don't have it)

sudo apt install python3.7-*

Create virtual environment

python3.7 -m venv venv --clear source venv/bin/activate pip install --upgrade pip setuptools wheel main!? pip install -e .

Run the code

python main.py --visualise ```

Examples

Capture every frame.

bash python main.py --save --interval 0

Capture every 5.3 seconds.

bash python main.py --save --interval 5.3

Show the camera.

bash python main.py --visualise

Capture when space is pressed (GUI required).

bash python main.py --save --visualise

Utilise more threads to save to disk faster.

bash python main.py --save --interval 0 --threads 8

Capture every 5 seconds or when space is pressed, show a GUI and load custom camera config.

bash python main.py --save --interval 5 --visualise --config configs/default.yaml

Extras

Extra utilities are provided in extras/.

Owner

  • Name: Raymond
  • Login: RaymondCM
  • Kind: user
  • Location: Lincoln, UK
  • Company: @FruitCast

Dr. Raymond Martin. Founder, FruitCast Ltd.

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Kirk"
  given-names: "Raymond"
  orcid: "https://orcid.org/0000-0001-5118-9358"
title: "realsense_save_example"
version: 1.0.0
date-released: 2020-01-01
url: "https://github.com/RaymondKirk/realsense_save_example"

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • RaymondCM (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

setup.py pypi
  • Cython *
  • netifaces *
  • numpy *
  • opencv-python *
  • pymsteams *
  • pyrealsense2 *
  • pyyaml *
  • raytils *
  • tqdm *