-
Notifications
You must be signed in to change notification settings - Fork 9
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
Writing output to a text file #1
Comments
supposed that we have this code in main.py: import cv2 Imports the Google Cloud client libraryfrom google.cloud import vision #Emotions ############## Spanish version ################# #from google.oauth2 import service_account Instantiates a clientvision_client = vision.ImageAnnotatorClient.from_service_account_file("key.json") cv2.imshow('Video', np.empty((5,5),dtype=float))
When everything is done, release the capturecv2.destroyAllWindows() The output is the string. So we will juste doing something like that just after this line : --------------or------------------- I hope it will be helpfull |
Hi,
I am new to the programming world. Can you please help to write the code which writes your output to the output.txt file?
I tried doing but wasn't able to get the full output.
Thank you
The text was updated successfully, but these errors were encountered: