-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to utilise GPU Acceleration #19
Comments
Do you guys mind if I take up this issue? I am thinking to add GoCV support in Darkroom. GoCV has CUDA support. It is still in experimental phase, but a lot of functionalities seems to work fine. Do you guys want to see some benchmark results comparing performance improvements possible by using GoCV instead of Bild? |
@anubhavp28 Sure, go ahead. Although I'd like to see a working prototype first with GoCV before we can take the decision to opt for it. |
Unfortunately, GoCV lacks support for image processing using cuda currently. I couldn't find a alternative to GoCV. Let me know if you guys know of something. I am currently thinking of adding that support to GoCV, but this could take a long time (I don't have any experience of calling C/C++ code from Go). I hope that's not a problem. Sorry for updating you guys so late. I had been busy in the previous week due to my coursework. |
Update : I am working on adding the necessary functionality to GoCV - link to pull request. The author of GoCV @deadprogram is looking for some members from GoCV community to verify that the code in my pull request is working for their hardware. If any of you could help with this, it would expedite the whole process. |
@anubhavp28 Commented on your GoCV PR. 👍 |
@anubhavp28 thanks anubhav, i checked your PR on GoCV and it looks promising |
I can see that the PR on gocv has been merged @anubhavp28 awesome work 🎊 hybridgroup/gocv#494 |
The new release of GoCV that includes this code should be out by next week. |
I would like to take up the issue for blur of image using cuda |
@anubhavp28 @jspeedluk Any updates on this? |
I'm currently not working on this. I don't think I would be able to resume work this month. I am currently looking for Internship, and busy with hiring contests and interviews rounds. If @jspeedluk or anyone else wants to take the work forward, feel free too. |
What would you like to be added
It would be really great if Darkroom starts to support GPU acceleration for the image processing whenever possible.
Why is this needed
The performance of the application server can be greatly improved if we utilize GPU for processing images when available.
Attaching some benchmarks performed by @sohamkamani to support this feature request.
This shows that resizing an image with the GPU is
14-16 times
faster than with the CPU.Feature Status
@anubhavp28@ajatprabha)@jspeedluk)The text was updated successfully, but these errors were encountered: