face_rec icon indicating copy to clipboard operation
face_rec copied to clipboard

Memory fix and comment

Open singh-sidharth opened this issue 5 years ago • 2 comments

Removed unnecessary import. Added helpful comments. Re-positioned model code to load at different time to consume less memory.

singh-sidharth avatar Jun 29 '19 03:06 singh-sidharth

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.

singh-sidharth avatar Jun 29 '19 03:06 singh-sidharth

Even if the author doesn't merge them in, thanks for the changes it's making it a lot easier to get this running.

jeff-hykin avatar Aug 15 '19 17:08 jeff-hykin