Ask Your Question
0

React Native and opencv

asked 2016-09-30 11:39:57 -0600

ivorscott gravatar image

updated 2016-09-30 20:01:41 -0600

Has anyone heard of this before? https://facebook.github.io/react-native/

I'm building an app that needs to do image recognition, then find an image match based on a small number of pre-set images.

Example: When a user takes a picture from their phone, I want to compare that picture with all pre-defined pictures in the folder in order to find an image match.

In react native you use javascript to build "native" apps (its not a web view) for Android and IOS. This is very bleeding edge https://github.com/facebook/react-native (38,000+ stars).

My Solution: I thought about sending the user's image to the server and doing opencv work in the server, (where I know it works) then sending data back.

Thoughts?

edit retag flag offensive close merge delete

Comments

1

yea, rather do your opencv work on a server (e.g. from python) then.

berak gravatar imageberak ( 2016-09-30 19:52:51 -0600 )edit

@berak I am developing a project as I explained here. I have written the code in python using openCV library and now I want to embed it with the react-native front-end. I read this blog post also but I don't get any idea since I have written the code in python. Please suggest me the best way of doing this. Kindly let me know if you need any other details about the project. Thank you so much.

thadaBoy gravatar imagethadaBoy ( 2019-05-04 03:49:38 -0600 )edit

we cannot help you with anything react related., all of it is entirely off-topic.

(and no, you cannot (normally) run any python code on android)

berak gravatar imageberak ( 2019-05-04 06:49:35 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2018-04-12 08:22:15 -0600

Brainhub gravatar image

You might want to check this tutorial on how to use OpenCV in React Native for image processing - https://github.com/brainhubeu/react-n...

Here's a blog post about it - https://brainhub.eu/blog/opencv-react...

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2016-09-30 11:32:13 -0600

Seen: 4,236 times

Last updated: Apr 12 '18