简体   繁体   中英

How to connect RoboFlow model to React Native Expo Camera

I want to connect my roboflow model to my react native app so I can input user taken photos directly to my model to display results. How would I go about doing this?

Here is a link to my code: https://snack.expo.dev/@www112358/jealous-soylent

I tried using Axios to make a POST req to the model but it doesn't seem to work, my code results in a error

are you using the example code snippets we have available to make the request?

https://docs.roboflow.com/inference/hosted-api#code-snippets

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM