StevensSEC / monocle

A mobile app to transcribe images of printed text from a page.
GNU General Public License v3.0
3 stars 0 forks source link

Replace all on-device processing logic with calls to the remote server #70

Closed dcarpenter31 closed 2 years ago

dcarpenter31 commented 2 years ago

Instead of using tfjs-react-native on-device, we should instead make HTTPS requests to the remote server that we have set up.

Relevant documentation: Fetch

dyc3 commented 2 years ago

I'd recommend pulling in axios for doing this because the API is easier to use.

dyc3 commented 2 years ago

I've created a Postman collection that contains examples of how to use the HTTP API, and I've attached it here. monocle.postman_collection.zip

dcarpenter31 commented 2 years ago

Fixed by #73