-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmodif_azure_kinect_linux
142 lines (93 loc) · 3.56 KB
/
modif_azure_kinect_linux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
AZURE KINECK EN LINUX
---------------------------
I
Intalación - pasos
------------------
sudo apt-add-repository https://packages.microsoft.com/ubuntu/20.04/prod
sudo apt-get update
sudo apt-get install libk4a1.4
sudo apt install libk4a1.4-dev
sudo apt install k4a-tools
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
curl -sSL https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-prod.list
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo apt-get update
sudo apt install libk4a1.3-dev
sudo apt install libk4abt1.0-dev
sudo apt install k4a-tools=1.3.0=
sudo apt-get update
sudo apt install libk4a1.4.1-dev
sudo apt install k4a-tools=1.3.0=
17/04/2022 - Camara Azure Kinect MODO RGB
------------------------------
La cámara es reconocida en Linux como cámara de color RGB. eL OTRO PASO ES VER SI LA PROFUNDIDAD ES RECONOCIDA.
Cleaning files, installing from scratch
--------------
sudo apt-get update
sudo apt-get autoremove
Paquetes necesarios y aplicaciones
--------------
sudo apt-get install build-essential
sudo apt-get install cmake
sudo apt-get install libgtk2.0-dev
sudo apt-get install libusb-1.0
sudo apt-get install ffmpeg
sudo apt-get install mlocate
sudo apt-get install locate
sudo apt install curl
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
sudo apt-add-repository https://packages.microsoft.com/ubuntu/20.04/prod
sudo apt-get update
Install repositories
----------------
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
curl -sSL https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-prod.list
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo apt-get update
Remove old packages installed before new installation
-------------------
sudo dpkg --remove libk4a1.3-dev
sudo dpkg --remove libk4abt1.0-dev
sudo dpkg --remove libk4a1.3-dev
sudo dpkg --remove k4a-tools
sudo dpkg --remove libk4a
sudo dpkg --remove libk4a*
sudo dpkg --remove libk4abt
sudo apt remove libk4a1.3-dev
sudo apt remove k4a-tools
Listar paquetes
----------
apt list -a libk4a*
apt list -a libk4abt1.1
sudo apt list -a libk4abt1.1-dev
Remover paquetes
------------
sudo apt remove libk4a*
sudo apt remove libk4abt*
sudo apt remove libk4a1*
Installling packages
-------
sudo apt-get update
sudo apt-get install libk4a1.4
sudo apt install libk4a1.4-dev
sudo apt install k4a-tools
Copy rules to use Azure Kinect as root
------------------
sudo cp 99-k4a.rules /etc/udev/rules.d/
Testing k4aviewer
------
sudo k4aviewer
Now you can install pyk4a
MUY IMPORTANTE!!!
-------------------
nO OLVIDAR COPIAR LAS REGLAS A UDEV
https://github.com/microsoft/Azure-Kinect-Sensor-SDK/blob/develop/docs/usage.md#linux-device-setup
"""
Linux Device Setup
On Linux, once attached, the device should automatically enumerate and load all drivers. However, in order to use the Azure Kinect SDK with the device and without being 'root', you will need to setup udev rules. We have these rules checked into this repo under 'scripts/99-k4a.rules'. To do so:
Copy 'scripts/99-k4a.rules' into '/etc/udev/rules.d/'.
Detach and reattach Azure Kinect devices if attached during this process.
Once complete, the Azure Kinect camera is available without being 'root'.
"""