# Dwell Time Analysis with google colab

**URL:** <https://discuss.roboflow.com/t/dwell-time-analysis-with-google-colab/5860>\
**Category:** 🤝  Community Help\
**Tags:** convert\
**Created:** [May 18, 2024, 2:16pm UTC](https://discuss.roboflow.com/t/dwell-time-analysis-with-google-colab/5860 "2024-05-18T14:16:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shahin\_amini](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/shahin_amini/32/4559_2.png) [@shahin\_amini](https://discuss.roboflow.com/u/shahin_amini)\
**Post date:** [May 18, 2024, 2:16pm UTC](https://discuss.roboflow.com/t/dwell-time-analysis-with-google-colab/5860/1 "2024-05-18T14:16:34Z")

</div>

hi

I’ve been following a YouTube tutorial on calculating time in different zones using computer vision. The tutorial demonstrates the process using streaming videos, but I want to adapt it to work with recorded videos in Google Colab.  
\*\*Here’s the link to the video:  
Has anyone here tried something similar or could offer some guidance on how to get started? Any tips or code snippets would be greatly appreciated!

Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Nathan\_Yan](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/nathan_yan/32/4447_2.png) [@Nathan\_Yan](https://discuss.roboflow.com/u/Nathan_Yan)\
**Post date:** [May 18, 2024, 7:38pm UTC](https://discuss.roboflow.com/t/dwell-time-analysis-with-google-colab/5860/2 "2024-05-18T19:38:34Z")

</div>

Were you talking about [this video](https://www.youtube.com/watch?v=hAWpsIuem10)? If so, a good tutorial that does something like that (also using a polygon feature!) is [this cookbook](https://supervision.roboflow.com/develop/notebooks/occupancy_analytics/#setup-graphs) by Leo.  
It uses the sink function to:

- break all the images into their own specific frames
- annotate on each frame
- add all the annotated frames back into one video!

Let me know if you need any other advice as I created a project that utilized prerecorded audio too! Happy to help with your project anytime 🙂

---

<div class="post-metadata">

**Author:** ![shahin\_amini](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/shahin_amini/32/4559_2.png) [@shahin\_amini](https://discuss.roboflow.com/u/shahin_amini)\
**Post date:** [May 20, 2024, 9:21am UTC](https://discuss.roboflow.com/t/dwell-time-analysis-with-google-colab/5860/3 "2024-05-20T09:21:37Z")

</div>

hi it seems it does not work in google colab anyway.  
i am trying to know how to use doker in google colab for it.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bb6edbfa56d0cf2ee603f061e9e09103502cc8cc.png) [@system](https://discuss.roboflow.com/u/system)\
**Post date:** [June 10, 2024, 9:22am UTC](https://discuss.roboflow.com/t/dwell-time-analysis-with-google-colab/5860/4 "2024-06-10T09:22:17Z")

</div>

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
