Skip to main content

out-of-the-box computer vision

Project description

Huasca

Computer vision models OOB (out-of-the-bottle).
                 __
                [__]
   ___        .+'. '+.
   )_(       /:;/ _.+'\
   + +       +:._   .++
 .+'+'+.  _  |:._     |
/+::_..+_[_]_+:._CV   |
)_     /_   _\:._     |
+;:    )_``'_(:._     +
+;::+..+;:.._++.____.+'
`+.._..`+...+'
Step into the cellar and select a bottle of computer visions.
  • Object Detection

Object Detection

Returns annotated,classes,scores,boxes

  • annotated: the input image with annotated boxes and labels drawn on it
  • classes: the labels of detected objects
  • scores: confidence score for each detected object
  • boxes: (x1,y1,x2,y2) coordinates for each box
    • top-left corner is (0,0) and offsets go down/right (physics indexing)

Examples

Object Detection

# Get a PIL image from somewhere:
import rtsp
_image = rtsp.Client().read()

# Use PIL image as input:
import huasca

detector = huasca.detection.ObjectDetection()
annotated,classes,scores,boxes = detector.detect(_image)

annotated.show()
annotated.save('test.png')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for huasca, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size huasca-0.0.5.tar.gz (59.3 MB) File type Source Python version None Upload date Hashes View
Filename, size huasca-0.0.5-py3-none-any.whl (59.3 MB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page