Skip to content

Commit ff23358

Browse files
author
Frank Natividad
committed
Vision quickstart: changed fileName -> file_name
1 parent 3447327 commit ff23358

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vision/quickstart.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
vision = gcloud.vision
2525

2626
# The name of the image file to annotate
27-
fileName = "./images/cat.jpg"
27+
file_name = "./images/cat.jpg"
2828

2929
# Performs label detection on the image file
30-
labels = vision.image(fileName).labels
30+
labels = vision.image(file_name).labels
3131

3232
puts "Labels:"
3333
labels.each do |label|

0 commit comments

Comments
 (0)