Module: DeepStack::Scene

Included in:
DeepStack
Defined in:
lib/deep_stack/scene.rb

Overview

Scene Recognition

Instance Method Summary collapse

Instance Method Details

#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, **options)
  target = 'vision/scene'
  api_post(target, image, **options)
end