We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e645b6 commit 56ea938Copy full SHA for 56ea938
samples/snippets/quickstart/quickstart.py
@@ -32,9 +32,7 @@ def run_quickstart():
32
# [END vision_python_migration_client]
33
34
# The name of the image file to annotate
35
- file_name = os.path.join(
36
- os.path.dirname(__file__),
37
- 'resources/wakeupcat.jpg')
+ file_name = os.path.abspath('resources/wakeupcat.jpg')
38
39
# Loads the image into memory
40
with io.open(file_name, 'rb') as image_file:
0 commit comments