Answers.Body: <p>I think this kind of thing is more commonly done using Python and OpenCV, rather than video editing tools. I don't know of a plugin or process that allows you to continuously track multiple heads in After Effects, although if someone did manage to integrate the code from something like this:</p>
  <p><a href="https://data-flair.training/blogs/python-project-real-time-human-detection-counting/" rel="nofollow noreferrer">https://data-flair.training/blogs/python-project-real-time-human-detection-counting/</a></p>
  <p>into AE or Premiere, I could see that it could be useful for security &amp; forensics work.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-07-01T10:30:27.917Z
Answers.LastActivityDate: 2024-07-01T10:30:27.917Z
Answers.UserDisplayName: tomh
Body: <p>I have videos of hundreds of people walking from right to left. They're not perfectly in a line, but it's quite sparse enough. I'd like to draw a tag on each of their head and count them. How much of it can be automated? Basically, the method I'm thinking about is something like:</p>
  <ol>
  <li>Do a face recognition when a person enter the screen.</li>
  <li>Put a tag (i.e. draw a physical red rectangle on the head). Step 1 and 2 might have to be done with multiple passes.</li>
  <li>Count the tag when a person exit the screen (i.e. count the rectangle).</li>
  </ol>
  <p><a href="https://i.sstatic.net/V0J2C17t.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/V0J2C17t.jpg" alt="enter image description here" /></a>I have Davinci, but can access After Effects or Premiere if necessary. Thanks.</p>
  
Tags: <after-effects><premiere><davinci-resolve><automation>
Title: Davinci or Premiere or After Effect. Tag then count the tags
UserDisplayName: Jose Mulia
ThreadText: # Davinci or Premiere or After Effect. Tag then count the tags
  
  (Asked by: username_0 on 2024-06-30)
  
  I have videos of hundreds of people walking from right to left. They're not perfectly in a line, but it's quite sparse enough. I'd like to draw a tag on each of their head and count them. How much of it can be automated? Basically, the method I'm thinking about is something like:
  
  1. Do a face recognition when a person enter the screen.
  2. Put a tag (i.e. draw a physical red rectangle on the head). Step 1 and 2 might have to be done with multiple passes.
  3. Count the tag when a person exit the screen (i.e. count the rectangle).
  
  [![enter image description here](https://i.sstatic.net/V0J2C17t.jpg)](https://i.sstatic.net/V0J2C17t.jpg)I have Davinci, but can access After Effects or Premiere if necessary. Thanks.
  
  **Tags:** after-effects, premiere, davinci-resolve, automation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-07-01. Score: 1
  
  I think this kind of thing is more commonly done using Python and OpenCV, rather than video editing tools. I don't know of a plugin or process that allows you to continuously track multiple heads in After Effects, although if someone did manage to integrate the code from something like this:
  
  <https://data-flair.training/blogs/python-project-real-time-human-detection-counting/>
  
  into AE or Premiere, I could see that it could be useful for security & forensics work.
  
  
  ---
  
  