Skip to content

Commit 68964a1

Browse files
author
roberthebel
committed
Add badge
1 parent 98a3543 commit 68964a1

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
# What this tutorial is about
1+
# react-native-opencv-tutorial
2+
3+
[![license](https://img.shields.io/badge/License-MIT-green)](https://img.shields.io/badge/License-MIT-green)
4+
5+
## What this tutorial is about
26
This tutorial is how to use React Native together with OpenCV for image processing. This example uses native Java and Objective-C bindings for OpenCV. In this example we use the device's camera to take a photo and detect whether the taken photo is clear or blurred.
37

4-
# Demo
8+
## Demo
59

610
The examples below show the situation right after taking a photo. The first one shows what happens if we take a blurry photo and the second one is the situation after we took a clear photo and are able to proceed with it to do whatever we want.
711

812
![Blurred photo](./images/blurred_photo.png)
913
![Clear photo](./images/clear_photo.png)
1014

11-
# Blog post
15+
## Blog post
1216

1317
https://brainhub.eu/blog/opencv-react-native-image-processing/
1418

15-
# Prerequisites
19+
## Prerequisites
1620

1721
1. XCode
1822
2. Android Studio
1923

20-
# How to run the project
24+
## How to run the project
2125

2226
1. Clone the repository.
2327
2. `cd cloned/repository/path`
@@ -37,17 +41,17 @@ https://brainhub.eu/blog/opencv-react-native-image-processing/
3741
10. Add module dependency by Application -> Module Settings, and select the Dependencies tab. Click + icon at bottom, choose Module Dependency and select the imported OpenCV module. For Android Studio v1.2.2, to access to Module Settings : in the project view, right-click the dependent module -> Open Module Settings.
3842
11. `react-native run-ios` or `react-native run-android`.
3943

40-
## Additional notes
44+
### Additional notes
4145
In case of any `downloadAndInsertOpenCV.sh ` script related errors, please, check the paths inside this file and change them if they do not match yours.
4246
If this script does not run at all since it has no permissions, run `chmod 777 downloadAndInsertOpenCV.sh`.
4347

4448
If you do not have `React Native` installed, type `npm i -g react-native-cli` in the terminal.
4549

46-
## License
50+
### License
4751

4852
reactNativeOpencvTutorial is copyright © 2018-2020 [Brainhub](https://brainhub.eu/?utm_source=github) It is free software, and may be redistributed under the terms specified in the [license](LICENSE.MD).
4953

50-
## About
54+
### About
5155

5256
reactNativeOpencvTutorial is maintained by the Brainhub development team. It is funded by Brainhub and the names and logos for Brainhub are trademarks of Brainhub Sp. z o.o.. You can check other open-source projects supported/developed by our teammates here.
5357

0 commit comments

Comments
 (0)