DEV Community

How to build an image recognition app in React Native in 30 minutes

Andrew Smith on September 04, 2018

For a few months now I've been fascinated by React Native, and having already done some development in the Ionic framework I was excited by how wel...
Collapse
 
beobungbu profile image
beobungbu • Edited

Long Post but cannot Work as Expected. Provided Source code still containing Bug and after fix that bug we will found that the application cannot get using the Camera because he forget to Ask For Permission.

Collapse
 
we12010215 profile image
Hwa Lim

After fix the bug, but still don't have any prediction answer output. Is it my apiKey error??? Could you help me about this?

Collapse
 
ddamine profile image
DDAmine

it's not working for me , could u help me ?

Collapse
 
aditya1501 profile image
aditya1501

is it working now i am building a similar app. i want to use my deep learning model to predict but I am not able to store the image and pass it to the model

Collapse
 
beobungbu profile image
beobungbu

Okay, give me your personal email or skype/ telegram/ facebook/ to get contact.

Collapse
 
kris profile image
0xAirdropfarmer

This tutorial exemplifies the use of React Native Camera for image recognition using machine learning model from Clarafai. Proper guidance on setup and use of React Native Camera to capture an image. And use of captured images for image recognition is amazing. This tutorial shows that image recognition with an AI model is possible and moreover simple in React Native just by using the camera package and API from Clarafai.

Collapse
 
msmore profile image
Riddhi More

Hello! This is awesome, But is there any way I can use a machine learning App on real time video, I do not want to capture the images but instead capture a video and at the same time predict it frame by frame and give prediction in some text field on screen.
Any way I can use an async function with my model.predict() or at least automate the process of capturing images and minimising delay

Collapse
 
razorholt profile image
Razorholt

Does it work with Expo?

Collapse
 
curtis profile image
curti.s_

where is the camera variable declared initially.
However, nice piece of content. Greatly appreciated.

Collapse
 
curtis profile image
curti.s_

Never mind. I figured it was from the ref. Thanks.

Collapse
 
priyanga2496 profile image
priyanga2496

hi its not working for me after capturing image clarifai not parsing any output response

Collapse
 
samhkwest profile image
samhkwest

Hello Andrew, what a great work!
I am new to mobile development.
What android emulator should I use to run your program in window environment?