{"id":15606630,"url":"https://github.com/raymondcm/realsense_save_example","last_synced_at":"2025-03-29T14:15:32.342Z","repository":{"id":41901915,"uuid":"337076331","full_name":"RaymondCM/realsense_save_example","owner":"RaymondCM","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-24T12:09:52.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T14:50:01.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RaymondCM.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null}},"created_at":"2021-02-08T12:57:36.000Z","updated_at":"2022-04-23T15:56:40.000Z","dependencies_parsed_at":"2022-08-11T20:40:36.405Z","dependency_job_id":null,"html_url":"https://github.com/RaymondCM/realsense_save_example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaymondCM%2Frealsense_save_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaymondCM%2Frealsense_save_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaymondCM%2Frealsense_save_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaymondCM%2Frealsense_save_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaymondCM","download_url":"https://codeload.github.com/RaymondCM/realsense_save_example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246193257,"owners_count":20738452,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T04:41:19.947Z","updated_at":"2025-03-29T14:15:32.322Z","avatar_url":"https://github.com/RaymondCM.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Realsense Example \n\nThis file will save and visualise data from an Intel Realsense camera. Tested with python\u003e=3.7.\n\n## Installation\n\n### Ubuntu (debian)\n\nFirst install [librealsense](https://github.com/IntelRealSense/librealsense) on your system. \nInstructions below accurate on 1st of April 2021.\n\n```bash\n# Install librealsense (up to date instructions here https://github.com/IntelRealSense/librealsense)\nsudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE\n\n# Ubuntu 16 run this\nsudo add-apt-repository \"deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main\" -u\n# Ubuntu 18 run this\nsudo add-apt-repository \"deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main\" -u\n\n# Install libraries \nsudo apt update\nsudo apt install librealsense2-dkms\nsudo apt install librealsense2-utils\n```\n\nThen install this repository.\n\n```bash\n# Clone the repo\ngit clone https://github.com/RaymondKirk/realsense_save_example\ncd realsense_save_example\n\n# Install \u003e python3.7 (if you don't have it) \nsudo apt install python3.7-*\n\n# Create virtual environment\npython3.7 -m venv venv --clear\nsource venv/bin/activate\npip install --upgrade pip setuptools wheel                                                                                                                                       main!?\npip install -e .\n\n# Run the code\npython main.py --visualise\n```\n\n## Examples\n\nCapture every frame.\n\n```bash\npython main.py --save --interval 0\n```\n\nCapture every 5.3 seconds.\n\n```bash\npython main.py --save --interval 5.3\n```\n\nShow the camera.\n\n```bash\npython main.py --visualise\n```\n\nCapture when space is pressed (GUI required).\n\n```bash\npython main.py --save --visualise\n```\n\nUtilise more threads to save to disk faster.\n\n```bash\npython main.py --save --interval 0 --threads 8\n```\n\nCapture every 5 seconds or when space is pressed, show a GUI and load custom camera config.\n\n```bash\npython main.py --save --interval 5 --visualise --config configs/default.yaml\n```\n\n## Extras\n\nExtra utilities are provided in [extras/](/extras).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraymondcm%2Frealsense_save_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraymondcm%2Frealsense_save_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraymondcm%2Frealsense_save_example/lists"}