Closed ghost closed 4 years ago
I made a quick example https://gist.github.com/x0rzkov/42e6bc596cc59c702171c2aabc0664ee
It is cropping the largest area detected if it is a car. In fact, it is tailored to my needs but we can make something more generic. Open to the discussion.
How do you see it ?
Interesting.
But. I don't think it is good idea to use REST for such purpose. I find it more "correct" to use gRPC (for example) Also I'd prefer to send bbox params to client (JavaScript) and make crops/renders on client side.
p.s. by the way I'm working on gRPC listening server right now ;)
Can you help me to fix the gpu issue first ? I need to make some tests
My version has a big problem, it is multi-threading. I tried the gpu version with 24 queries per seconds and it crashes.
Do you know how we can make the model to be multi-threaded ?
Do you have a twitter account ? so we can DM and not pollute the go-darknet issue with some questions I have ? my handle is https://twitter.com/x0rzkov
related issues in AlexeyAB's Darknet: https://github.com/AlexeyAB/darknet/issues/4356 https://github.com/AlexeyAB/darknet/issues/3906
My bet, that the best solution (currently) would be making lock via mutexes for *YOLONetwork. Or maybe make a queue (but it can grow very fast) via channels.
I cannot DM you, you ll have to follow me and send the first DM.
I am testing a couple of things on mutexes. Keep u in touch
Hi,
Hope you are all well !
Is it possible to provide an example of rest api receiving either url or body image ? That would be awesome addition.
Cheers, X