Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
auduno committed Apr 27, 2017
1 parent f039bc6 commit b6a331a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ then run the mossefilter on a canvas element:
```JavaScript
var mfilter = new mosse.mosseFilter();
mfilter.load(mosse.filters.face_filter);
// returns mode of correlation filter output inside window, relative to midpoint of window
// where `element` is a canvas element, and `left`, `top`, `width` and `height` define the window
// on the canvas element
var mode = mfilter.track(element, left, top, width, height);
// returns mode of correlation filter output inside window, relative to midpoint of window
// where `element` is a canvas element, and `left`, `top`, `width` and `height`
// define the window on the canvas element
```

You can also update filter during tracking, by setting final parameter to true:
Expand Down

0 comments on commit b6a331a

Please sign in to comment.