batchVideoFaceAnalysis {zoomGroupStats}R Documentation

Batch analyze faces in videos

Description

Using this function you can analyze attributes of facial expressions within a batch of video files. This batch approach requires breaking the videos into still frames in advance by using the batchGrabVideoStills() function.

Usage

batchVideoFaceAnalysis(
  batchInfo,
  imageDir,
  sampleWindow,
  facesCollectionID = NA
)

Arguments

batchInfo

the batchInfo data.frame that is output from batchProcessZoomOutput

imageDir

the path to the top-level directory of where all the images are stored

sampleWindow

an integer indicating how frequently you have sampled images in number of seconds.

facesCollectionID

name of an 'AWS' collection with identified faces

Value

data.frame with one record for every face detected in each frame across all meetings. For each face, there is an abundance of information from 'AWS Rekognition'. This output is quite detailed. Note that there will be a varying number of faces per sampled frame in the video. Imagine that you have sampled the meeting and had someone rate each person's face within that sampled moment.

Examples

## Not run: 
  vidOut = batchVideoFaceAnalysis(batchInfo=zoomOut$batchInfo, 
  imageDir="~/Documents/meetingImages",
  sampleWindow = 300)

## End(Not run)

[Package zoomGroupStats version 0.1.0 Index]