intel_realsense
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| intel_realsense [2021/03/11 06:09] – [Installation du package python] serge | intel_realsense [2022/03/22 14:12] (Version actuelle) – [Les pages sur la détection de squelette] Benjamin Labomedia | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Intel Realsense ====== | + | ====== Intel Realsense====== |
| + | <WRAP center round box 80% centeralign> | ||
| + | **{{tagpage> | ||
| + | </ | ||
| - | =====Installation===== | + | {{ : |
| + | ===== Ressources | ||
| - | ====Driver==== | + | * **[[cameras_de_profondeur|Camera Realsense Installation]] Intel® RealSense™ Computer Vision - Depth and Tracking cameras** |
| - | | + | |
| - | sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp:// | + | |
| - | sudo add-apt-repository " | + | * [[https:// |
| - | sudo apt-get install librealsense2-dkms | + | * [[https:// |
| - | sudo apt-get install | + | |
| + | =====Installation du driver du Capteur D455===== | ||
| + | * **[[https:// | ||
| + | |||
| + | Validé sur Debian 11 Bullseye | ||
| + | |||
| + | <code bash> | ||
| + | sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp:// | ||
| + | sudo apt install software-properties-common | ||
| + | sudo add-apt-repository " | ||
| + | </ | ||
| + | |||
| + | Puis\\ | ||
| + | sudo apt update | ||
| + | sudo apt install | ||
| Tester avec: | Tester avec: | ||
| + | sudo apt install librealsense2-utils | ||
| realsense-viewer | realsense-viewer | ||
| + | | ||
| + | Voir si le module est bien chargé | ||
| + | modinfo uvcvideo | grep " | ||
| - | ====Installation de Cubemos==== | + | {{ :: |
| - | sudo apt-get install ./ | + | ===== Récupération des images avec OpenCV en python |
| - | cd / | + | ====Installation de pyrealsense2==== |
| - | bash post_installation.sh | + | * https://github.com/IntelRealSense/ |
| - | Installe entre autre ffmpeg, demande la license, installer les exemples | + | |
| - | POST INSTALLATION STEPS COMPLETED | + | |
| - | During the Linux installation the following environment variable is created | + | |
| - | $CUBEMOS_SKEL_SDK | / | + | |
| - | + | ||
| - | Redémarrer pour que le PATH soit mis à jour | + | |
| - | =====Cubemos===== | + | |
| - | * https://www.cubemos.com/ S' | + | |
| - | L' | + | python3 -m pip install pyrealsense2 --user |
| - | Debian 10 et Xubuntu 20.04 ont des versions plus récentes, et je suis trop maladroit pour réussir à l' | + | |
| - | ====Installation du package python==== | + | ====L' |
| - | L’exécution des scripts se fait dans un environnement virtuel avec [[virtualenv|venv]] | + | |
| - | sudo apt install python3-pip python3-venv | + | {{ : |
| - | python3 | + | |
| - | | + | ====Calibration de la caméra==== |
| - | Pour relancer: | + | **Avec une calibration, |
| - | | + | Une copie du script de la doc se trouve dans le dossier rs-imu-calibration: |
| - | | + | Suivre le script et le PDF [[https:// |
| - | Installation des packages | + | |
| - | | + | Exemple d'une calibration |
| - | | + | <code bash> |
| - | | + | python3 rs-imu-calibration.py |
| - | + | waiting for realsense device... | |
| - | ====Test==== | + | Device PID: 0B5C |
| - | | + | |
| - | + | Serial number: | |
| - | + | Product Line: D400 | |
| - | {{tag> | + | Firmware version: |
| + | Start interactive mode: | ||
| + | FOUND ACCEL with fps=63 | ||
| + | FOUND GYRO with fps=200 | ||
| + | ------------------------- | ||
| + | *** Press ESC to Quit *** | ||
| + | ------------------------- | ||
| + | |||
| + | Align to direction: | ||
| + | Status.collect_data[...................]] | ||
| + | |||
| + | Direction data collected. | ||
| + | Align to direction: | ||
| + | Status.collect_dataWARNING: | ||
| + | | ||
| + | |||
| + | Direction data collected. | ||
| + | Align to direction: | ||
| + | | ||
| + | |||
| + | Direction data collected. | ||
| + | Align to direction: | ||
| + | | ||
| + | | ||
| + | |||
| + | Direction data collected. | ||
| + | Align to direction: | ||
| + | | ||
| + | |||
| + | Direction data collected. | ||
| + | Align to direction: | ||
| + | | ||
| + | | ||
| + | |||
| + | Direction data collected. | ||
| + | Would you like to save the raw data? Enter footer for saving files (accel_<footer> | ||
| + | Enter nothing to not save raw data to disk. >toto | ||
| + | |||
| + | |||
| + | Writing files: | ||
| + | accel_toto.txt | ||
| + | gyro_toto.txt | ||
| + | [ 5.22060069e-04 | ||
| + | [1000 1000 1000 1000 1000 1000] | ||
| + | using 6000 measurements. | ||
| + | [[ 1.01076975e+00 | ||
| + | [ 4.92538947e-04 | ||
| + | [-6.46373829e-03 1.24138802e-02 1.01959596e+00] | ||
| + | [ 2.24575082e-01 1.56413994e-01 | ||
| + | residuals: [ 7.25572588 | ||
| + | rank: 4 | ||
| + | singular: [441.23030094 430.20638248 424.20085017 | ||
| + | norm (raw data ): 9.655707 | ||
| + | norm (fixed data): 9.805557 A good calibration will be near 9.806650 | ||
| + | Would you like to write the results to the camera? (Y/N)Y | ||
| + | Writing calibration to device. | ||
| + | Device PID: 0B5C | ||
| + | Device name: Intel RealSense D455 | ||
| + | Serial number: | ||
| + | Firmware version: | ||
| + | SUCCESS: saved calibration to camera. | ||
| + | Done. | ||
| + | </ | ||
| + | =====Les pages sur la détection de squelette===== | ||
| + | | ||
| + | | ||
| + | |||
| + | |||
| + | {{tag> | ||
intel_realsense.1615442986.txt.gz · Dernière modification : de serge
