Azure-Samples / Azure-Samples/cognitive-services-quickstart-code

Using face API with an already opened cv2 image

Open
#285 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
389
Forks
556
Avg merge
3d 12h
Merged PRs (30d)
1

Description

> Please provide us with the following information:
> ---------------------------------------------------------------
How do I use azure face API with an already opened cv2 image without saving it again locally or on the web?
I tried looking for it in the documentations, but couldn't find a solution.
As far as I know and could find, there are only two ways of reading an image:
1. detect_with_url : Needs an URL to read the image.
2. detect_with_stream: Needs an image path to read the image.
### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```
### Expected/desired behavior
>

The face API should have a function or work-around to use an already opened image without having to save it.
### OS and Version?

Windows 10 and Raspberry Pi
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.