# Raspberry pi or alternative + kinect

**URL:** <https://discourse.processing.org/t/raspberry-pi-or-alternative-kinect/13389>\
**Category:** Processing for Pi\
**Created:** [August 15, 2019, 6:38am UTC](https://discourse.processing.org/t/raspberry-pi-or-alternative-kinect/13389 "2019-08-15T06:38:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![haanglide](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/haanglide/32/6155_2.png) [@haanglide](https://discourse.processing.org/u/haanglide)\
**Post date:** [August 15, 2019, 6:38am UTC](https://discourse.processing.org/t/raspberry-pi-or-alternative-kinect/13389/1 "2019-08-15T06:38:43Z")

</div>

Hi! I need to use a depthcamera kinect v1 or v2 doesnt matter. I just need a lowresolution image with a depth value so I can remove background within a certain threshold. I want to run this at at least 30 fps. Not sure if I can install processing on a raspberry pi and run a kinect? Anyone with experience in this?

Or another cheap and small single board computer recommendation where I can use processing + kinect

Thanks

---

<div class="post-metadata">

**Author:** ![morisil](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/morisil/32/6166_2.png) [@morisil](https://discourse.processing.org/u/morisil)\
**Post date:** [August 16, 2019, 9:27am UTC](https://discourse.processing.org/t/raspberry-pi-or-alternative-kinect/13389/2 "2019-08-16T09:27:31Z")

</div>

Using Kinect with Raspberry Pi is definitely possible. I’m not sure about freenect drivers though. It might be not supported out of the box in `OpenKinect-for-Processing`. Also if you want to remove depth values of certain threshold, be aware that Processing can only store textures with 8bit resolution, which means that from initial 2048 (v1) or 4096 (v2) depth levels you will go down to 256, which might be a bit frustrating. I shared my experience here:

> **[The limits of Processing, and how I transcend them with OPENRNDR](https://medium.com/@kazikpogoda/the-limits-of-processing-and-how-i-transcend-them-with-openrndr-e6a63c5924fd)**
>
> If you’ve never heard about “creative coding”, most likely you won’t find this story interesting. On the other hand maybe it’s worth…

For this reason I’m not using Processing for my kinect projects anymore, and I just contributed the initial kinect support to OPENRNDR:

> <https://github.com/openrndr/orx/pull/8>

Maybe today I will do some experiments on running both, Processing+Kinect and OPENRNDR+Kinect on Raspberry Pi 3 and let you know how it goes.

---

<div class="post-metadata">

**Author:** ![haanglide](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/haanglide/32/6155_2.png) [@haanglide](https://discourse.processing.org/u/haanglide)\
**Post date:** [August 16, 2019, 9:45am UTC](https://discourse.processing.org/t/raspberry-pi-or-alternative-kinect/13389/3 "2019-08-16T09:45:29Z")

</div>

Thanks! Yes i have been doing the background subtraction before using kinect in processing. It worked fine then. Nowadays I mostly works in other frameworks though.  
I might try to use a stereo camera as well for getting the depth image. Will investigate this further.

Thanks, you are very welcome to get back if you successfully installed and runned the kinect v1 or v2 on the Raspberry Pi and how you did it
