Class: Google::Cloud::Vision::V1::WebDetection
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::WebDetection
- Defined in:
- lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/web_detection.rb
Overview
Relevant information for the image from the Internet.
Defined Under Namespace
Classes: WebEntity, WebImage, WebPage
Instance Attribute Summary collapse
-
#full_matching_images ⇒ Array<Google::Cloud::Vision::V1::WebDetection::WebImage>
Fully matching images from the Internet.
-
#pages_with_matching_images ⇒ Array<Google::Cloud::Vision::V1::WebDetection::WebPage>
Web pages containing the matching images from the Internet.
-
#partial_matching_images ⇒ Array<Google::Cloud::Vision::V1::WebDetection::WebImage>
Partial matching images from the Internet.
-
#web_entities ⇒ Array<Google::Cloud::Vision::V1::WebDetection::WebEntity>
Deduced entities from similar images on the Internet.
Instance Attribute Details
#full_matching_images ⇒ Array<Google::Cloud::Vision::V1::WebDetection::WebImage>
Returns Fully matching images from the Internet. They're definite neardups and most often a copy of the query image with merely a size change.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/web_detection.rb', line 36 class WebDetection # Entity deduced from similar images on the Internet. # @!attribute [rw] entity_id # @return [String] # Opaque entity ID. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the entity. # Not normalized and not comparable across different image queries. # @!attribute [rw] description # @return [String] # Canonical description of the entity, in English. class WebEntity; end # Metadata for online images. # @!attribute [rw] url # @return [String] # The result image URL. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the image. # Not normalized and not comparable across different image queries. class WebImage; end # Metadata for web pages. # @!attribute [rw] url # @return [String] # The result web page URL. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the web page. # Not normalized and not comparable across different image queries. class WebPage; end end |
#pages_with_matching_images ⇒ Array<Google::Cloud::Vision::V1::WebDetection::WebPage>
Returns Web pages containing the matching images from the Internet.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/web_detection.rb', line 36 class WebDetection # Entity deduced from similar images on the Internet. # @!attribute [rw] entity_id # @return [String] # Opaque entity ID. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the entity. # Not normalized and not comparable across different image queries. # @!attribute [rw] description # @return [String] # Canonical description of the entity, in English. class WebEntity; end # Metadata for online images. # @!attribute [rw] url # @return [String] # The result image URL. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the image. # Not normalized and not comparable across different image queries. class WebImage; end # Metadata for web pages. # @!attribute [rw] url # @return [String] # The result web page URL. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the web page. # Not normalized and not comparable across different image queries. class WebPage; end end |
#partial_matching_images ⇒ Array<Google::Cloud::Vision::V1::WebDetection::WebImage>
Returns Partial matching images from the Internet. Those images are similar enough to share some key-point features. For example an original image will likely have partial matching for its crops.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/web_detection.rb', line 36 class WebDetection # Entity deduced from similar images on the Internet. # @!attribute [rw] entity_id # @return [String] # Opaque entity ID. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the entity. # Not normalized and not comparable across different image queries. # @!attribute [rw] description # @return [String] # Canonical description of the entity, in English. class WebEntity; end # Metadata for online images. # @!attribute [rw] url # @return [String] # The result image URL. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the image. # Not normalized and not comparable across different image queries. class WebImage; end # Metadata for web pages. # @!attribute [rw] url # @return [String] # The result web page URL. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the web page. # Not normalized and not comparable across different image queries. class WebPage; end end |
#web_entities ⇒ Array<Google::Cloud::Vision::V1::WebDetection::WebEntity>
Returns Deduced entities from similar images on the Internet.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/web_detection.rb', line 36 class WebDetection # Entity deduced from similar images on the Internet. # @!attribute [rw] entity_id # @return [String] # Opaque entity ID. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the entity. # Not normalized and not comparable across different image queries. # @!attribute [rw] description # @return [String] # Canonical description of the entity, in English. class WebEntity; end # Metadata for online images. # @!attribute [rw] url # @return [String] # The result image URL. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the image. # Not normalized and not comparable across different image queries. class WebImage; end # Metadata for web pages. # @!attribute [rw] url # @return [String] # The result web page URL. # @!attribute [rw] score # @return [Float] # Overall relevancy score for the web page. # Not normalized and not comparable across different image queries. class WebPage; end end |