Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 573 Bytes

File metadata and controls

11 lines (6 loc) · 573 Bytes

// MoodDetector...

  1. So In mood detection first of all we going to load modals.., and going to use and useRef hooks also..

  2. In second move i am going to start the video so going to use an function its gonna be async and await is going to use , its asks first user for the media access then its started working .. then we saved the video ref to the and object ..

  3. In next move we are going to do the detections detectallfaces and all that we can use..

  4. Then we are going to extract expressions..

  5. Then we find the dominantMood by use the array reduce method..