File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -65,18 +65,18 @@ class YourComponent extends Component {
6565| contrast | ` 1 ` | ` float ` | Increase or decrease camera contrast. Normal as default |
6666
6767## Each rectangle detection
68- | Prop | Params | Type | Description |
69- | : ------ | : ------: | : --------: | : --------|
70- | onRectangleDetect | ` { stableCounter, lastDetectionType } ` | ` object ` | See below |
68+ | Props | Params | Type | Description |
69+ | ------------------- | ---------------------------------------- | ---------- | ----- --------|
70+ | onRectangleDetect | ` { stableCounter, lastDetectionType } ` | ` object ` | See below |
7171
7272The returned object includes the following keys :
7373
74- ` stableCounter `
75- ---
74+ - ` stableCounter `
75+
7676Number of correctly formated rectangle found (this number triggers capture once it goes above ` detectionCountBeforeCapture ` )
7777
78- ` lastDetectionType `
79- ---
78+ - ` lastDetectionType `
79+
8080Enum (0, 1 or 2) corresponding to the type of rectangle found
81810 . Correctly formated rectangle
82821 . Wrong perspective, bad angle
@@ -86,7 +86,7 @@ Enum (0, 1 or 2) corresponding to the type of rectangle found
8686## Returned image
8787
8888| Prop | Params | Type | Description |
89- | :----------- | :-------: | :--------:| :----------|
89+ | :----------- | :-------:| :--------:| :----------|
9090| onPictureTaken | ` data ` | ` object ` | Returns the captured image in an object ` { image: 'BASE64 string'} ` |
9191
9292
You can’t perform that action at this time.
0 commit comments