Reputation: 1
To complete my project, I implemented in Java greyscale, Hough transform, perspective transform of given RGB A4 size image.
What I did in the code:
But code output will be black page. output should be
by inputing
Upvotes: -1
Views: 218
Reputation: 9384
The way you describe means the image is processed in quite a number of steps to find the coordinates to be used for cropping.
Maybe use these coordinates, but do not crop the processed picture but the original one. With that you should not just get a black page and it may get easier to find if the crop edges were detected correctly.
Upvotes: 1