How to automatically adjust the Inclination of scanned image and cut its black edges

Hi, Support:

Does the api support this function?if so, how to do?

Thanks!

@ducaisoft

Can you please share the details of the requirements and also in the form of sample image and explanation that you want to achieve using API.