# How can get the body outline contour through the Kinect?

**URL:** <https://discourse.processing.org/t/how-can-get-the-body-outline-contour-through-the-kinect/10384>\
**Category:** Libraries\
**Created:** [April 17, 2019, 8:44am UTC](https://discourse.processing.org/t/how-can-get-the-body-outline-contour-through-the-kinect/10384 "2019-04-17T08:44:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [April 19, 2019, 10:29pm UTC](https://discourse.processing.org/t/how-can-get-the-body-outline-contour-through-the-kinect/10384/2 "2019-04-19T22:29:17Z")

</div>

> [@jiangjun](#):
>
> opencv.loadImage(kinect.getColorImage())

1. I don’t have a kinect to test here, but it looks like you are trying to find contours on the color image – not on the depth image. Is that what you meant to do? Are you working from an example sketch? What kind of contour are you trying to find – the silhouette of a person?

2. I believe that the two cameras (the color camera and depth camera) are different sizes. Many kinect tutorials suggest ways of dealing with this issue.

You might also find this helpful – another kinect project with silhouettes. [How to use heat map colors to filter a person's silhouette? - #18 by clab](https://discourse.processing.org/t/how-to-use-heat-map-colors-to-filter-a-persons-silhouette/304/18)

Have you tried the MaskTest example from the library you are using?

> **[GitHub - ThomasLengeling/KinectPV2: Kinect4W 2.0 library for Processing](https://github.com/ThomasLengeling/KinectPV2)**
>
> Kinect4W 2.0 library for Processing. Contribute to ThomasLengeling/KinectPV2 development by creating an account on GitHub.

---

_[View the full topic](https://discourse.processing.org/t/how-can-get-the-body-outline-contour-through-the-kinect/10384)._
