deeppyer icon indicating copy to clipboard operation
deeppyer copied to clipboard

Why is the function async?

Open ethanr-2000 opened this issue 4 years ago • 1 comments

Hi, this library was really useful for a little project I was working on, so thank you!

I did however have to modify it so that the main function wasn't async. This was to be able to run it inside a function that I could not make async.

This seemed to have no effect on functionality. Is there a reason that it's async?

Cheers!

ethanr-2000 avatar Nov 12 '20 17:11 ethanr-2000

Hey sorry for the late response.

The library used to rely on calling Microsoft's image API for face detection and used aiohttp for doing so, but has since moved to using OpenCV instead. I guess I forgot to change the function from async to regular in the process.

Ovyerus avatar Dec 12 '20 09:12 Ovyerus