I built a Dockerfile to install all packages, git rgbdemo and compile it all in a Docker container.

51 views
Skip to first unread message

Doug LaRue

unread,
Jul 28, 2015, 12:37:03 AM7/28/15
to rgbdemo
I blogged about it and posted the Dockerfile which is the Docker script to do the step by step package installations, user configurations,etc and then I also built a bash script to help with the building by getting some packages from the Internet and getting it ready for the Dockerfile but also it calls the Docker build commands if the image isn't built yet and then runs the image.

The latest files are posted here:

and my initial troubles and a brief history were posted here:

I know I'm two years late with this stuff but just in case someone else decides they too want to see what rgbdemo can do maybe this will make it much easier then it was for me.

Doug

Arky

unread,
Jul 28, 2015, 1:53:45 AM7/28/15
to rgb...@googlegroups.com, doug....@gmail.com
On 07/28/2015 11:37 AM, Doug LaRue wrote:
> I blogged about it and posted the Dockerfile which is the Docker script to
> do the step by step package installations, user configurations,etc and then
> I also built a bash script to help with the building by getting some
> packages from the Internet and getting it ready for the Dockerfile but also
> it calls the Docker build commands if the image isn't built yet and then
> runs the image.
>
> The latest files are posted here:
> http://gottahackit.com/2015/07/28/docker-container-files-update-for-rgbdemo/
>
> and my initial troubles and a brief history were posted here:
> http://gottahackit.com/2015/07/25/3d-scene-and-object-scanning-using-rgbdemo-in-a-docker-container/
>

Hey,

Sweet! Thanks for doing that. Am going to check this out. I have a
Kinect and see if this work for me.

Cheers

--arky


Fernando Flórez Gómez

unread,
Aug 7, 2015, 12:06:08 AM8/7/15
to rgbdemo
Hey man, i am newbie on this, would you put the instructions stept by step for people can understand better how install... thanks  for that, and I'm sorry for troubles...

Doug LaRue

unread,
Feb 1, 2016, 8:57:01 PM2/1/16
to rgbdemo


On Thursday, August 6, 2015 at 9:06:08 PM UTC-7, Fernando Flórez Gómez wrote:
Hey man, i am newbie on this, would you put the instructions stept by step for people can understand better how install... thanks  for that, and I'm sorry for troubles...


first you have to learn what Docker is and the basics of how to use it. 
Then you get my docker file and start script and put it on your computer.
make sure your computer is a Linux computer. I did it on Ubuntu LTS 14.04.
create the Docker container using my files and you should end up with an xterm window popping up on your screen. 
have your Primesense device plugged into the USB port and run any of the samples programs within that xterm window which popped up.
BTW, I'm running an Intel graphics card so I enabled access to its DRI device in the startup script so you might have to change that to fit your system.

Doug

Doug LaRue

unread,
May 5, 2017, 7:58:09 PM5/5/17
to rgbdemo
BTW people, this is also a VERY GOOD way to see how it can be installed. Yes it's in a docker container but the instructions and files are all contained in there too.

So if you're having problems, maybe try this stuff out and then see where your errors are.  

I too was having problems on my native OS and decided I didn't want to take a chance in messing it up so I learned about Docker and got it working in Docker before bothering to get it working in the native OS.

Doug

须贺横

unread,
Sep 10, 2019, 11:50:25 PM9/10/19
to rgbdemo
Can you give me you email for contacting you!
I met some error! I want to get  your guidance!

Step 13/32 : RUN add-apt-repository ppa:xqms/opencv-nonfree
 
---> Using cache
 
---> 53ad82037df1
Step 14/32 : RUN apt-get update
 
---> Using cache
 
---> cbf924837874
Step 15/32 : RUN apt-get install libopencv-nonfree-dev
 
---> Running in 35a6c3c737a9
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation
or if you are using the unstable
distribution that some required packages have
not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:
 libopencv
-nonfree-dev : Depends: libopencv-features2d-dev (= 2.4.8+dfsg1-2ubuntu1xqms1~trusty1) but 2.4.8+dfsg1-2ubuntu1.2 is to be installed
                         
Depends: libopencv-nonfree2.4 (= 2.4.8+dfsg1-2ubuntu1xqms1~trusty1) but it is not going to be installed
E
: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get install libopencv-nonfree-dev' returned a non-zero code: 100
Unable to find image 'rgbdemo/openni:latest' locally
docker
: Error response from daemon: pull access denied for rgbdemo/openni, repository does not exist or may require 'docker login'.
See 'docker run --help'.



在 2015年7月28日星期二 UTC+8下午12:37:03,Doug LaRue写道:
Reply all
Reply to author
Forward
0 new messages