View on GitHub

optical_graph_recognition_mobApp

Mobile application for optical graph recognition

app / com.pzpg.ogr.api / RequestManager / processImage

processImage

suspend fun processImage(path: String, name: String, mode: ProcessMode = ProcessMode.AUTO): Boolean

Suspend fun to called from a coroutine, required for process uploaded image uploadImage

Parameters

path - path to the image without name

name - name of the image

mode - process mode ProcessMode

Return temporary file with graph inside or none, when something went wrong

Author Władysław Jakołcewicz

suspend fun processImage(guid: String, mode: ProcessMode = ProcessMode.AUTO): Boolean

Suspend fun to called from a coroutine, required for process uploaded image uploadImage

Parameters

guid - universally unique identifier of uploaded image

mode - process mode ProcessMode

Return temporary file with graph inside or none, when something went wrong

Author Władysław Jakołcewicz