face_rec
face_rec copied to clipboard
Memory fix and comment
Removed unnecessary import. Added helpful comments. Re-positioned model code to load at different time to consume less memory.
Removed VideoStream import as cv2 has the feature. Saves memory. Loading model is in "main" function to improve loading in to graphics memory. If someone were to use it as a library then "main" should be changed.
Even if the author doesn't merge them in, thanks for the changes it's making it a lot easier to get this running.