forked from jitsi/jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(face-landmarks) refactor namings (jitsi#11307)
* ref(face-landmarks) refactor namings * code review
- Loading branch information
Showing
37 changed files
with
286 additions
and
291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// @flow | ||
|
||
/** | ||
* Redux action type dispatched in order to add a face expression. | ||
* | ||
* { | ||
* type: ADD_FACE_EXPRESSION, | ||
* faceExpression: string, | ||
* duration: number | ||
* } | ||
*/ | ||
export const ADD_FACE_EXPRESSION = 'ADD_FACE_EXPRESSION'; | ||
|
||
/** | ||
* Redux action type dispatched in order to add a expression to the face expressions buffer. | ||
* | ||
* { | ||
* type: ADD_TO_FACE_EXPRESSIONS_BUFFER, | ||
* faceExpression: string | ||
* } | ||
*/ | ||
export const ADD_TO_FACE_EXPRESSIONS_BUFFER = 'ADD_TO_FACE_EXPRESSIONS_BUFFER '; | ||
|
||
/** | ||
* Redux action type dispatched in order to clear the face expressions buffer in the state. | ||
* | ||
* { | ||
* type: CLEAR_FACE_EXPRESSIONS_BUFFER | ||
* } | ||
*/ | ||
export const CLEAR_FACE_EXPRESSIONS_BUFFER = 'CLEAR_FACE_EXPRESSIONS_BUFFER'; | ||
|
||
/** | ||
* Redux action type dispatched in order to set recognition active in the state. | ||
* | ||
* { | ||
* type: START_FACE_LANDMARKS_DETECTION | ||
* } | ||
*/ | ||
export const START_FACE_LANDMARKS_DETECTION = 'START_FACE_LANDMARKS_DETECTION'; | ||
|
||
/** | ||
* Redux action type dispatched in order to set recognition inactive in the state. | ||
* | ||
* { | ||
* type: STOP_FACE_LANDMARKS_DETECTION | ||
* } | ||
*/ | ||
export const STOP_FACE_LANDMARKS_DETECTION = 'STOP_FACE_LANDMARKS_DETECTION'; | ||
|
||
/** | ||
* Redux action type dispatched in order to update coordinates of a detected face. | ||
* | ||
* { | ||
* type: UPDATE_FACE_COORDINATES, | ||
* faceBox: Object({ left, bottom, right, top }), | ||
* participantId: string | ||
* } | ||
*/ | ||
export const UPDATE_FACE_COORDINATES = 'UPDATE_FACE_COORDINATES'; |
Oops, something went wrong.