The YAP Python library provides convenient access to the YAP API from applications written in the Python language.
- Python 2.7+ or Python 3.6+
It's an official version for Python
pip install --upgrade yap-sdk
Enjoy π
The library needs to be configured with your account's secret key which is available in your [YAP Dashboard][api-keys]:
from yapsdk import Yap
service = Yap(api_key='...')
# detect faces on document
response = service.detect_faces(content='/9j/4AAQSkZJRgABAQEASABIA....')
# print that response
print(response.faces)
List of examples for quickly start on your project.
Features | File |
---|---|
Extract text | text.py |
Extract lines | line.py |
Extract table | table.py |
Get entities | entities.py |
Get dominant language | dominant_language.py |
Detect faces | detect_faces.py |
Compare faces | compare_faces.py |
If you encounter a bug with YAP, we would appreciate if you inform us about it. Before opening a new issue, please go through existing issues to find the solution right away if your problem was solved before.
Attach the following details if appropriate:
- SDK
- Python version
- Environment and OS
- Stack trace
The GitHub issues are intended for bug reports and feature requests. For quick help and questions on using the Yap SDK for Python, please use the resources listed within Getting Help section. The time of our support experts is rushingly flying but even so, they would like to help you in time, and therefore, will appreciate your help in applying for support reasonably by providing full details and excluding duplicated issues.
Yap is the open source and we love contributions! If you have an idea for a great improvement or spy an issue youβre keen to fix, follow our Contributing Guide.
No contribution is too small β we encourage you to provide feedback and report issues.
For general help using Yap, please refer to the official Yap documentation. For additional help, you can use one of these channels to ask a question:
- StackOverflow
- GitHub (Bug reports, feature requests, contributions)
- Twitter (Get the news fast)
- YouTube Channel (Learn from Video Tutorials)
This SDK is distributed under Commerciale License.