View on GitHub

optical_graph_recognition_mobApp

Mobile application for optical graph recognition

app / com.pzpg.ogr.api.request / RequestServer / processImage

processImage

suspend fun processImage(guid: String, jwtToken: String, mode: ProcessMode?): Int

Suspend method to process a image for graph recognition

Parameters

guid - a guid of the uploaded image which we want to process

jwtToken - access token gotten from refreshToken method or authorize

mode - a mode of the recognition

format - recognized graph format which we want to take after processing

Exceptions

BadRequestException -

UnauthorizedException -

TimeOutException -

RequestServerException -

Return temporary file (graph)

Author Władysław Jakołcewicz