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

Flip not working ? #6

Open
nerkdesign opened this issue Apr 3, 2021 · 3 comments
Open

Flip not working ? #6

nerkdesign opened this issue Apr 3, 2021 · 3 comments

Comments

@nerkdesign
Copy link

Hi, Thanks for your code,

My camera is up side down, I wanted to flip the image using the flip = True but nothing... I tried also to change the value in np.flip(frame,-1) , np.flip(frame,1) .... but nothing....

Any solution to help ?

thanks

@nerkdesign
Copy link
Author

I also tried to use cv.flip(frame,-1) but nothing....

@Dartherick
Copy link

Did you solve it?

@nerkdesign
Copy link
Author

I could solve this by adding self.flip =True and it works :

def init(self, flip = True):
self.vs = cv2.VideoCapture(0)
...
self.flip = True

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