Skip to content

Commit b5e6c1d

Browse files
authored
Update README.md
1 parent 6d899b1 commit b5e6c1d

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Are you using **Glide**? [GlideFaceDetectionTransformation](https://github.com/a
1010
### How to use it?
1111

1212
STEP 1:
13-
Gradle
14-
-------
13+
14+
Grab via Gradle
1515

1616
```
1717
repositories {
@@ -21,9 +21,20 @@ dependencies {
2121
compile 'com.github.aryarohit07:picasso-facedetection-transformation:0.2'
2222
}
2323
```
24+
25+
Or via Maven
26+
27+
```
28+
<dependency>
29+
<groupId>com.github.aryarohit07</groupId>
30+
<artifactId>picasso-facedetection-transformation</artifactId>
31+
<version>0.2</version>
32+
</dependency>
33+
```
34+
2435
STEP 2:
2536

26-
Initialize the detector
37+
Initialize the detector (May be in `onCreate()` method)
2738

2839
```java
2940
PicassoFaceDetector.initialize(context);
@@ -45,7 +56,7 @@ Picasso
4556

4657
STEP 4:
4758

48-
Release the detector when you are done with the detector. (May be in ```onDestory()``` method)
59+
Release the detector when you are done with the detector. (May be in `onDestory()` method)
4960

5061
```java
5162
PicassoFaceDetector.releaseDetector();

0 commit comments

Comments
 (0)