M-Davies / eye-of-horus

A facial and gesture recognition authentication system
GNU General Public License v3.0
3 stars 0 forks source link

Deprecation warning: tostring() #35

Closed M-Davies closed 3 years ago

M-Davies commented 3 years ago

Follow up from #22, need to figure out an alternative as I don't believe the output of tobytes() is accepted by AWS

/Users/morgan/Documents/Repos/eye-of-horus/src/scripts/manager.py:588: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
  foundGesture = gesture_recog.checkForGestures(cv2.imencode(".jpg", frame)[1].tostring())
M-Davies commented 3 years ago

This was deprecated and removed in favour of allowing for images directly to commence authentication rather than by streaming https://github.com/M-Davies/eye-of-horus/issues/37