Ask Your Question
0

React Native and opencv

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

ivorscott gravatar image

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

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 -0500 )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 -0500 )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 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
-1

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

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

Comments

instead of bragging about your blog, you should post a real answer, explaining it here.

(link only posts are neverwelcome anywhere..)

berak gravatar imageberak ( 2018-04-14 13:07:07 -0500 )edit

Sorry, I didn't mean to brag. Thanks for your remark! - I'll do better next time.

Brainhub gravatar imageBrainhub ( 2018-04-16 05:38:55 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

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

Seen: 2,713 times

Last updated: Apr 12 '18