You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
jonathanchu78 edited this page Dec 7, 2017
·
8 revisions
Outputs
This wiki page is to document the input/output information. Rough outline. Add on to it as you learn more about the API.
Scibe API
Output: JSON (I'm assuming since we convert the end result to XML from JSON format).
Edit:
Sends a POST request containing x, y, width, height to be processed by rails app. This might be where we can hijack the data we need?
Tesseract API
Input: JPG Images only.
Output: GSON.
According to the GSON documentation, GSON is simply a Java library that we can use to convert Java Objects into JSON. Thus, if it does output as a GSON object, we can easily convert that into JSON format.
Scribe to Tesseract
Investigating how to clip selected regions and send from Scribe:
Scribe does not crop the images; it just specifies x, y, width, height of the region on the image
then sends that info as a POST request
We can crop the images to the specific marked regions given x, y, width, height. See my notes on this (Jonathan)