You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some primitive examples in it. The users download them and load `.jar` file in the project. The `.jar` file is set the named `'code'` folder.
11
+
***library**
12
+
The `processing-android-capture.jar` file in it.
13
+
***src**
14
+
The source code of this lib int it.
7
15
8
-
**A primitive example to get phone camera image :**
16
+
## Android App
17
+
**the source code of app : [https://github.com/onlylemi/AndroidCapture](https://github.com/onlylemi/AndroidCapture)**
18
+
19
+
## Examples
20
+
**1. A primitive example to get phone camera image :**
9
21
```processing
10
22
import com.onlylemi.processing.android.capture.*;
11
23
@@ -15,7 +27,7 @@ PImage img;
15
27
void setup() {
16
28
size(720, 480);
17
29
ac = new AndroidCapture(width, height, 30);
18
-
pc.start();
30
+
ac.start();
19
31
}
20
32
21
33
void draw() {
@@ -27,9 +39,12 @@ void exit() {
27
39
ac.exit();
28
40
}
29
41
```
42
+
43
+
30
44
--
31
45
32
-
**A primitive example to get the middle color of phone camera :**
46
+
47
+
**2. A primitive example to get the middle color of phone camera :**
0 commit comments