You can preview the examples here.
Clone this repository or download the zip, then run the p5 Editor. In the p5 Editor, click
File > Openand navigate to
index.html. Click the play button, and this should launch the browser with links to each of the sketches.
Another way to run the examples is by starting a web server on
localhostat the root directory. Usually you need an
https://server to access the camera, but for
localhostthere is usually an exception. For example:
$ cd cv-examples $ python -m SimpleHTTPServer 8000
Then navigate to
https://localhost:8000/in your browser.