wohali / hough

Skew detection in scanned images
GNU General Public License v2.0
3 stars 0 forks source link

GPU performance improvements #345

Open wohali opened 1 year ago

wohali commented 1 year ago

It would be nice if CUDA could be applied here.

The current state of affairs (September 2023):

wohali commented 1 year ago

A performance analysis of an average worker process shows most of the time is being spent in binary dilation (when peak sum Hough fails) and the median filter blur at the start of hough angle identification. By comparison actual probabilistic Hough edge detection is lightweight.

Snap-2023-09-15-17-29-57

wohali commented 1 year ago

Notes to self on getting opencv with CUDA bindings working on Windows: