Method: DeepStack::Scene#identify_scene
- Defined in:
- lib/deep_stack/scene.rb
#identify_scene(image, **options) ⇒ Hash?
Call the scene recognition API to classify an image into one of the supported scenes.
16 17 18 19 |
# File 'lib/deep_stack/scene.rb', line 16 def identify_scene(image, **) target = 'vision/scene' api_post(target, image, **) end |