Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i tried to replace "cv2.VideoCapture" to"cv2.imread" .. are it possible in facenet real time #14

Closed
DinaIbrahim132 opened this issue Feb 18, 2020 · 1 comment

Comments

@DinaIbrahim132
Copy link

No description provided.

@serengil
Copy link
Owner

Facenet real time code is here: https://github.com/serengil/tensorflow-101/blob/master/python/facenet-real-time.py

Why you replace videocapture to imread? If you want to read stream data from video instead of webcam, you just pass the location.

cap = cv2.VideoCapture('video.mp4') #process videos
cap = cv2.VideoCapture(0) #process real time web-cam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants