Skip to content

P5js library for running roboflow CV models in the browser

License

Notifications You must be signed in to change notification settings

IAD-ZHDK/RoboFlowP5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P5js library for running roboflow CV models in the browser

To run the example, you will need a roboflow API key.

Steps:

  • Download the example folder.
  • Replace the api_key value with your own key.
  • Start local server, and experiment.

Current limitations issues:

  • The model only accepts images in the p5 image format
  • Only a limited number of CV models have been tested from roboflow
  • The models are typically fast enough to run video in realtime, but currently the library isn't capable of syncing the models output with the videos frames.

Building library

The library is built with webpack.

Clone this repo and npm install.

npm i

Usage

Development server

npm start

You can view the development server at localhost:8080.

Production build

npm run build

Note: Install http-server globally to deploy a simple server.

npm i -g http-server

About

P5js library for running roboflow CV models in the browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published