# Help trying to extract object attribute

**URL:** <https://discourse.nodered.org/t/help-trying-to-extract-object-attribute/16357>\
**Category:** General\
**Created:** [5 October 2019 17:51 UTC](https://discourse.nodered.org/t/help-trying-to-extract-object-attribute/16357 "2019-10-05T17:51:35Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![subjectbit](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/subjectbit/32/12855_2.png) [@subjectbit](https://discourse.nodered.org/u/subjectbit)\
**Post date:** [5 October 2019 18:55 UTC](https://discourse.nodered.org/t/help-trying-to-extract-object-attribute/16357/7 "2019-10-05T18:55:15Z")

</div>

Ah-ha, I think this was what I was missing... I ended up using a split node with _data.attributes.matched\_faces. **name** _ where the name was the trained face and one for empty (i.e. unrecognized or no faces detected). I prefer to use the matched\_faces attribute over the faces attribute to account for an empty/unrecognized entity.

Thanks for your help and Steve-Mcl for your suggestion as well!

---

_[View the full topic](https://discourse.nodered.org/t/help-trying-to-extract-object-attribute/16357)._
