Module: DeepStack::Detection
- Included in:
- DeepStack
- Defined in:
- lib/deep_stack/detection.rb
Overview
APIs related to object detection
Instance Method Summary collapse
-
#detect_objects(image, **options) ⇒ Array
Perform object detection.
Instance Method Details
#detect_objects(image, **options) ⇒ Array
Perform object detection
14 15 16 17 |
# File 'lib/deep_stack/detection.rb', line 14 def detect_objects(image, **) target = 'vision/detection' api_post(target, image, **)&.dig('predictions') end |