File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ Are you using **Glide**? [GlideFaceDetectionTransformation](https://github.com/a
10
10
### How to use it?
11
11
12
12
STEP 1:
13
- Gradle
14
- -------
13
+
14
+ Grab via Gradle
15
15
16
16
```
17
17
repositories {
@@ -21,9 +21,20 @@ dependencies {
21
21
compile 'com.github.aryarohit07:picasso-facedetection-transformation:0.2'
22
22
}
23
23
```
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
+
24
35
STEP 2:
25
36
26
- Initialize the detector
37
+ Initialize the detector (May be in ` onCreate() ` method)
27
38
28
39
``` java
29
40
PicassoFaceDetector . initialize(context);
@@ -45,7 +56,7 @@ Picasso
45
56
46
57
STEP 4:
47
58
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)
49
60
50
61
``` java
51
62
PicassoFaceDetector . releaseDetector();
You can’t perform that action at this time.
0 commit comments