Code Monkey home page Code Monkey logo

posenet's Introduction

posenet

Using ml5js and pj5.

  1. using vs code, javascript

  2. pj5 is a library in Java script based on processing(counter fit for processing in JS), For designing and animations etc.

  3. there are two functions in Pj5 namely - a. function setup() - this is config related (setup related) that is to create canvs etc. b- function draw() - to draw images, shapes videos etc.

  4. whenever you make a variable you make it a global variable i.e. outside both the functions.

  5. let keyword is used to declare the variable.

  6. practice and implementation of pj5. background(200); // for bg colour console.log('Draw function'); // creating a point //Point(x, y); //point(200,200);

    // creating a line // line(x1, y1, x2, y2); //line(200,200,300,300);

    //creating a trinagle // triangle(x1, y1, x2, y2, x3, y3); //triangle (100, 200, 300, 150, 400, 450); // creating a rectangle // rect(starting x cord , starinn=g y cord , width , height) //rect(100,200,100,100);

    // circle //ellipse( x, y , w, h); //ellipse(600,300,1000 , 1000);

    // stoke and colour // stroke is used for the lining of an object //stoke(r,g,b,a)r g b for colour and a for opacity //whatever objects you make understroke would get coloured. //strokewight(pixel) for line thickness. // fill for colouring inside ----- fill(r , g , b , a)

    //fill(255 , 0 , 0 );

  7. next we will use the mlj5 library, another example keras.

  8. Tensorflow (deep learning framework) made java script version i.e. tensorflow.js..only problem in this library is that it is the very low level which means a deep understanding of deep learning is required. 9.mlj5 took tensor flow and wrote functions over it which means they simplified it, so using mlj5 functions and model we will use TensorFlow, all the work is done by Tensorflow itself but we will communicate with TensorFlow using mlj5.

  9. among those models in mlj5, one is present which we will be using to implement this project.

for any doubts and clarification contact - [email protected] naveen.nambiar.399 (Instagram)

posenet's People

Contributors

naveennambiar 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.