# Object tracking

**URL:** <https://discourse.processing.org/t/object-tracking/4716>\
**Category:** Libraries\
**Created:** [October 21, 2018, 4:30pm UTC](https://discourse.processing.org/t/object-tracking/4716 "2018-10-21T16:30:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishback](https://avatars.discourse-cdn.com/v4/letter/i/d9b06d/32.png) [@ishback](https://discourse.processing.org/u/ishback)\
**Post date:** [October 21, 2018, 4:30pm UTC](https://discourse.processing.org/t/object-tracking/4716/1 "2018-10-21T16:30:01Z")

</div>

Hi!

Is there any library or example for object tracking with persistence in Processing? So far I’ve been playing with findContours from OpenCV and tried to do the persistance myself, but I thought that should be a problem that has been solved before 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![lessthanoptimal](https://avatars.discourse-cdn.com/v4/letter/l/9de053/32.png) [@lessthanoptimal](https://discourse.processing.org/u/lessthanoptimal)\
**Post date:** [October 22, 2018, 3:51am UTC](https://discourse.processing.org/t/object-tracking/4716/2 "2018-10-22T03:51:41Z")

</div>

have you tried BoofCV? There’s an example in its processing wrapper for object tracking using your webcam. You select a rectangle and it tracks it. There are a few different trackers to select.
