Skip to content

Commit

Permalink
Updated Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kiriapurv committed Nov 14, 2014
1 parent 5e7b761 commit d3c4411
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@

Access and stream web cam in nodejs using opencv and web sockets.

#### Usage
#### Building

- It required opencv headers and library to build and run.
- Modify `include_dirs` for headers path and `library_dirs` for library path in `binding.gyp` according to your opencv installation.
- Then build with `node-gyp build`

#### Running

```
npm start -- [-open] [-wsport websocketPort] [-webport webserverport] [-ip ipaddress/domain]
npm start -- [-open] [-wsport websocketPort] [-webport webserverport] [-ip ipaddress/domain] [-res widthxheight]
```

| Option | Description |
Expand All @@ -14,3 +20,4 @@ npm start -- [-open] [-wsport websocketPort] [-webport webserverport] [-ip ipadd
|-wsport | Web socket port for streaming media |
|-webport | Web server port |
|-ip | Domain name/ip for non-localhost clients |
|-res | Resolution for preview image |

0 comments on commit d3c4411

Please sign in to comment.