You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 567B

1234567891011121314151617181920212223242526
  1. // @flow
  2. export const FACIAL_EXPRESSION_EMOJIS = {
  3. happy: '😊',
  4. neutral: '😐',
  5. sad: '🙁',
  6. surprised: '😮',
  7. angry: '😠',
  8. fearful: '😨',
  9. disgusted: '🤢'
  10. };
  11. /**
  12. * Time used for detection interval when facial expressions worker uses webgl backend.
  13. */
  14. export const WEBGL_TIME_INTERVAL = 1000;
  15. /**
  16. * Time used for detection interval when facial expression worker uses cpu backend.
  17. */
  18. export const CPU_TIME_INTERVAL = 6000;
  19. /**
  20. * Time is ms used for sending expression.
  21. */
  22. export const WEBHOOK_SEND_TIME_INTERVAL = 15000;