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

How did you calculate the mean values for creating blob? #19

Open
Oddy123123 opened this issue Jan 6, 2022 · 0 comments
Open

How did you calculate the mean values for creating blob? #19

Oddy123123 opened this issue Jan 6, 2022 · 0 comments

Comments

@Oddy123123
Copy link

In the file "detect_mask_video.py" in lines 16 and 17 you have:

blob = cv2.dnn.blobFromImage(frame, 1.0, (224, 224),
		(104.0, 177.0, 123.0))

How did you calculate the mean values for RGB: (104.0, 177.0, 123.0)? Why are these specific values used?

Should I change these values if I use another dataset?

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

1 participant