We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6801223 commit c6019d8Copy full SHA for c6019d8
system_tests/vision.py
@@ -84,6 +84,14 @@ def test_detect_logos_content(self):
84
logo = logos[0]
85
self._assert_logo(logo)
86
87
+ def test_detect_logos_filename(self):
88
+ client = Config.CLIENT
89
+ image = client.image(filename=LOGO_FILE)
90
+ logos = image.detect_logos()
91
+ self.assertEqual(len(logos), 1)
92
+ logo = logos[0]
93
+ self._assert_logo(logo)
94
+
95
def test_detect_logos_gcs(self):
96
bucket_name = Config.TEST_BUCKET.name
97
blob_name = 'logo.png'
0 commit comments