Giter Site home page Giter Site logo

janakhpon / ml5-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ml5js/ml5-examples

0.0 1.0 0.0 445.16 MB

A collection of ml5.js examples

Home Page: https://ml5js.org/getting-started/

License: MIT License

HTML 22.58% JavaScript 77.20% Python 0.22%

ml5-examples's Introduction

ml5 Examples

All Contributors

Description

This repository contains a collection of examples using ml5.js. The examples are meant to serve as an introduction to the library and machine learning concepts.

Examples are organized into folders according to their integration with other JavaScript libraries.

For example, the /p5js folder holds examples of using ml5.js with p5.js. All examples are self-contained and can be run independently. Libraries are loaded through a Content Delivery Network (CDN) and certain examples (indicated in code comments) download a machine learning model from a "cloud" url. This means that ml5 currently relies on an internet connection in order to retrieve pre-trained models (unless they are served locally).

Instead of using the CDN links to p5 and ml5, you can download the p5.js libraries here and ml5 library here.

Usage

Download or clone this repository:

git clone https://github.com/ml5js/ml5-examples.git

Change directory into the new folder and start a server. An easy way to start a server is with python. If you are have python 2:

cd ml5-examples
python -m SimpleHTTPServer

If you are have python 3:

cd ml5-examples
python -m http.server

If you don't know how to start a server, check this guide.

Examples Index

Below is the current release examples index:

javascript

ml5.js does not require p5.js, however as ml5.js and p5.js have been designed to play nicely with eachother, most of our examples currently are developed together with p5.js. The following "vanilla" javascript examples showcase the use of ml5 without p5.js.

p5js

p5.js web editor examples

The p5.js examples can also be run using the p5.js web editor. We are in the process of porting and would welcome any contributions!

You can find all of our examples here:

NOTE: not all of the ml5.js examples are currently working on the p5.js web editor. Stay tuned for updates!

Contributing

See CONTRIBUTING.MD

Contributors

Thanks goes to these wonderful people (emoji key):

Michael Salaverry
Michael Salaverry

๐Ÿ–‹ ๐Ÿ›

This project follows the all-contributors specification. Contributions of any kind welcome!

ml5-examples's People

Contributors

allcontributors[bot] avatar barakplasma avatar betapundit avatar cvalenzuela avatar handav avatar hobg0blin avatar itayniv avatar joeyklee avatar lisajamhoury avatar memo avatar micuat avatar montoyamoraga avatar shiffman avatar torinmb avatar wenheli avatar yining1023 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.