DetectScene procedure

Official Content

Determines the scenario that image is about (a city, a beach, a desert, etc.).



The following table resumes the configuration properties that you must set before calling this AI task.

Property   Google Cloud AI IBM Watson  Microsoft Azure  SAP Leonardo
Key For Cloud Vision API - For Computer Vision  -


Taking the following image input, the table below shows the scenarios are identified for each provider (as a JSON structure) and the time it takes for processing it.

GeneXusAI - Image module - Sample


Provider Output Benchmark
Google Cloud AI
    "label": "Taj Mahal",
    "confidence": 0.72149533
IBM Watson N/A N/A
Microsoft Azure 
    "label": "outdoor, Taj Mahal",
    "confidence": 0.985146582126618
}, {
    "label": "people",
    "confidence": 0.64453125

SAP Leonardo N/A N/A


  • The label assigned for an object depends on the provider used.
  • Maximum image file size is 10MB.


Platforms  Web(.NET,.NETCore,Java), SmartDevices(Android,iOS)
Connectivity  Online


This procedure is available as of GeneXus 16.

Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.