Has anyone tried to run this on a docker image? I'm starting this with this command :
docker run -it --rm --privileged \
-v ~/includes:/usr/include/k4a \
-v /usr/lib/aarch64-linux-gnu/libk4arecord.so:/usr/lib/aarch64-linux-gnu/libk4arecord.so \
-v /usr/lib/aarch64-linux-gnu/libk4arecord.so.1.4:/usr/lib/aarch64-linux-gnu/libk4arecord.so.1.4 \
-v /usr/lib/aarch64-linux-gnu/libk4arecord.so.1.4.0:/usr/lib/aarch64-linux-gnu/libk4arecord.so.1.4.0 \
-v /usr/lib/aarch64-linux-gnu/libk4a.so:/usr/lib/aarch64-linux-gnu/libk4a.so \
-v /usr/lib/aarch64-linux-gnu/libk4a.so.1.4:/usr/lib/aarch64-linux-gnu/libk4a.so.1.4 \
-v /usr/lib/aarch64-linux-gnu/libk4a.so.1.4.0:/usr/lib/aarch64-linux-gnu/libk4a.so.1.4.0 \
-v /usr/lib/aarch64-linux-gnu/libdepthengine.so.2.0:/usr/lib/aarch64-linux-gnu/libdepthengine.so.2.0 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=:0 \
tf113opencv:latest /bin/bash
and tf113opencv:latest... works for many other things in my case. Point is that when running example.py, I get this output :
root@df76993e312f:~/py-k4a# python3 example.py
Opened device 000211394812 (('rgb', (1, 6, 107)), ('depth', (1, 6, 78)), ('audio', (1, 6, 14)), ('depth_sensor', (6109, 7, 0)))
Fatal Python error: Segmentation fault
Thread 0x0000007f8a297010 (most recent call first):
File "example.py", line 19 in <module>
Segmentation fault (core dumped)
This runs on ubnutu on ARM64. The example runs well outside of Docker, but I would like to containerize this. Thoughts?
Has anyone tried to run this on a docker image? I'm starting this with this command :
and
tf113opencv:latest... works for many other things in my case. Point is that when runningexample.py, I get this output :This runs on ubnutu on ARM64. The example runs well outside of Docker, but I would like to containerize this. Thoughts?