yoloserv/modules/paravision/recognition/__init__.py

38 lines
931 B
Python

"""
Paravision
======
Provides an interface to the Paravision models.
How to use the documentation
----------------------------
Documentation is available in two forms: docstrings provided within the code,
and a reference guide, available
`here <https://ever-ai-documentation.readme.io/v1.0/docs/getting-started>`.
Code snippets are indicated by three greater-than signs::
>>> sdk = paravision.SDK()
Use the built-in ``help`` function to view a function or object's docstring::
>>> help(paravision.SDK)
...
Example
-------
This simple example illustrates how to detect the bounding boxes of faces in an image:
>>> import paravision
>>> from paravision.utils import load_image
>>> img = load_image('/tmp/face.jpg')
>>> sdk = paravision.SDK()
>>> sdk.get_faces(img)
([<Face ((278, 262), (904, 1143))>], 0)
"""
from .sdk import SDK # noqa
from .engine import Engine # noqa
__version__ = "8.2.0"