Skip to content

Commit e2d7011

Browse files
Update README.md
1 parent 5229aaa commit e2d7011

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,21 @@ videoCamera.track({
5252

5353
## Methods
5454

55-
There are some handy chainable methods that you can use to achieve your goal, for example:
55+
There are some handy classes and chainable methods that you can use to achieve your goal, for example:
5656

57-
* **tracking.VideoCamera()**
57+
* **new tracking.VideoCamera()**
5858

5959
Requests user's camera using WebRTC's `getUserMedia()`.
6060

61-
* **tracking.VideoCamera().render()**
61+
* **new tracking.VideoCamera().render()**
6262

63-
Shows user's camera using a `<video>` element.
63+
Render user's camera using a `<video>` element into the DOM.
6464

65-
* **tracking.VideoCamera().hide()**
65+
* **new tracking.VideoCamera().hide()**
6666

67-
Don't shows user's camera.
67+
Hides the `<video>` rendered into the DOM by `tracking.VideoCamera()`. In order to add information to the scene the `<canvas>` element could be displayed instead of the `<video>`.
6868

69-
* **tracking.VideoCamera().renderVideoCanvas()**
69+
* **new tracking.VideoCamera().renderVideoCanvas()**
7070

7171
Renders user's camera using a `<canvas>` element.
7272

@@ -106,7 +106,7 @@ new tracking.VideoCamera().track({
106106

107107
## Events
108108

109-
* **onFound** : Each time your tracker find something this event will be dispared.
109+
* **onFound** : Each time your tracker find something this event will be fired.
110110

111111
``` javascript
112112
new tracking.VideoCamera().track({
@@ -116,7 +116,7 @@ new tracking.VideoCamera().track({
116116
});
117117
```
118118

119-
* **onNotFound** : Each time your tracker doesn't find something this event will be dispared.
119+
* **onNotFound** : Each time your tracker doesn't find something this event will be fired.
120120

121121
``` javascript
122122
new tracking.VideoCamera().track({

0 commit comments

Comments
 (0)