batchVideoFaceAnalysis.Rd
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.
batchVideoFaceAnalysis( batchInfo, imageDir, sampleWindow, facesCollectionID = NA )
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 |
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.
if (FALSE) { vidOut = batchVideoFaceAnalysis(batchInfo=zoomOut$batchInfo, imageDir="~/Documents/meetingImages", sampleWindow = 300) }