How to get the angle of a document page photo in Salesforce Apex

https://github.com/Cloudmersive/Cloudmersive.APIClient.Apex.OCR/archive/master.zip
SwagPreprocessingApi api = new SwagPreprocessingApi();SwagClient client = api.getClient();// Configure API key authorization: ApikeyApiKeyAuth Apikey = (ApiKeyAuth) client.getAuthentication('Apikey');Apikey.setApiKey('YOUR API KEY');Map<String, Object> params = new Map<String, Object>{'imageFile' => Blob.valueOf('Sample text file\nContents')};try {// cross your fingersSwagGetPageAngleResult result = api.preprocessingGetPageAngle(params);System.debug(result);} catch (Swagger.ApiException e) {// ...handle your exceptions}

--

--

--

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Context Awareness and Pervasive Computing

How to use Hash ID’s in your URL in Ruby on Rails 5

AWS ManagedBlockchain + Hyperledger Explorer quickstart (2)

5 Reasons To Pick Drupal Web Development For Non-Profit & NGO’s

How to login Salesforce CRM from Jupyter Notebook using Connected App

Import Testing Data into Azure SQL Database

How DevOps Helped The Draft Network Score

Kubernetes Service in a Nutshell

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cloudmersive

Cloudmersive

There’s an API for that. Cloudmersive is a leader in Highly Scalable Cloud APIs.

More from Medium

IE Compatibility Mode

What is DAE(.dae) file format?

Test HTTP Handlers in Go

Gitlab — Platform for Developers to Collaborate