Understand hand-drawn and printed graphs. Currently, we support scatter plots and line charts (lines and parabolas).
Get started with Solvio's Graph Understanding API easily by downloading the Postman Collection attached below. To learn more about Postman Collections click here.
JSONObject obj =newJSONObject();// Put your base64 encoded image hereobj.put("src","data:image/png;base64,iVBOR...");// You can put more parameters here// obj.put("scaleX", 1);OkHttpClient client =newOkHttpClient();MediaType mediaType =MediaType.parse("application/json; charset=utf-8");String body =obj.toString().toRequestBody(mediaType);// Make sure to put the correct token in the Authorization headerRequest request: Request =Request.Builder().url("https://developer.trysolvio.ai/api/graph/understanding").addHeader("Authorization","Bearer eyJhbGciOiJSUzI1...").post(body).build();Response response =client.newCall(request).execute();// You can convert the string to JSONObject if neededSystem.out.println(response.body().string());
If you have a feature request, please write to us at hello@trysolvio.ai.