# Loading deepar canvas/filter pre-stream?

**URL:** <https://forum.deepar.ai/t/loading-deepar-canvas-filter-pre-stream/348>\
**Category:** Help & Questions\
**Created:** [June 23, 2023, 2:33am UTC](https://forum.deepar.ai/t/loading-deepar-canvas-filter-pre-stream/348 "2023-06-23T02:33:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Barakus](https://avatars.discourse-cdn.com/v4/letter/b/7993a0/32.png) [@Barakus](https://forum.deepar.ai/u/Barakus)\
**Post date:** [June 23, 2023, 2:33am UTC](https://forum.deepar.ai/t/loading-deepar-canvas-filter-pre-stream/348/1 "2023-06-23T02:33:27Z")

</div>

Any idea how I could have a deepar filter loaded on an alpha canvas waiting to detect a face? I am looking to potentially add this to a web-stream situation as a fun addition, where users sent to an output feed will automatically have the filter effect populate once video steam joins. Right now I am having an issue with the canvas going black between users. Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [June 28, 2023, 5:10pm UTC](https://forum.deepar.ai/t/loading-deepar-canvas-filter-pre-stream/348/2 "2023-06-28T17:10:57Z")

</div>

Hi  
You can wait to detect a face using a callback

> **[DeepAR | DeepAR Web API - v5.2.0](https://s3.eu-west-1.amazonaws.com/sdk.developer.deepar.ai/doc/web/classes/DeepAR.html#callbacks)**
>
> Documentation for DeepAR Web API - v5.2.0

I’m not sure what your intended use case is with an alpha canvas but DeepAR will just display the camera feed if the face isn’t detected and there isn’t a camera space filter active
