Author:

Send your name to Mars
nasa

Send your name to Mars

Send Your Name to Mars. NASA's Mars 2020 Rover is heading to the red planet. Submit your name by Sept. 30, 2019, and fly along! Your email is used only to give you “Frequent Flyer” points and to allow you to send your name on future Mars missions.

davide

Transfer learning with mobilenet and KNN

Transfer learning is a popular approach used in machine learning where a model trained on a task is re-purpose a model designed for a different task. Therefore the definition of Transfer Learning is the following. Given a source domain D(s) and learning task T(s), a target domain D(

davide
Using tensorflow-models/mobilenet for image recognition

Using tensorflow-models/mobilenet for image recognition

Here is a simple tutorial on how to use the mobilenet model released by google with tensorflow-js. This tutorial requires node v >10 and the parcel bundler. To install node use nvm https://github.com/nvm-sh/nvm and to install parcel just run npm -i g parcel-bundler step 1

davide
Easy tensorflow.js intro - basic operations

Easy tensorflow.js intro - basic operations

Tensorflow is the defacto standard for building advanced neural networks of any kind. Natively tensorflow is a python library and gives to the user a framework that simplifies operation with tensors. A tensor is a mathematical object analogous to but more general than a vector, represented by an array of

davide
Posenet

Posenet

Playing with models released for tensorflow js. Posenet is a neural network that allows the estimation of a human pose from an image. For more technical information about how it actually works refer to this blog post https://medium.com/tensorflow/real-time-human-pose-estimation-in-the-browser-with-tensorflow-js-7dd0bc881cd5 import * as posenet from "@tensorflow-models/posenet"

davide
3d force directed graph visualisation with ThreeJS
javascript

3d force directed graph visualisation with ThreeJS

I needed a cool way to visualize a force directed graph with many datapoints, so I thought that webGL was the way to go as it should be able to handle the heavy load better than d3 SVG. The library I've used for this small proof of concept

davide
Client side routing explained
javascript

Client side routing explained

Client side routing explained React router is the defacto standard for client side routing in React SPA application. To understand how React router works ( and other type of client side routing libraries), first, we need to understand how client side router works. Server side routing On a server side web

davide
Use face-api.js on node js
tensorflow

Use face-api.js on node js

Face-api.js is a great library that uses tensorflowjs to do face recognition, face detection, face landmarks, and other stuff with faces... The problem is that is complicated, the code is complicated, the examples are complicated and the documentation is complicated. The dude writing here likes simple things, he is

davide
javascript

ASCIICAM

Simple webapp that turns your webcam into ASCII art. code is available on github at https://github.com/david1983/ascii_cam I've done this in 2015 when I realised that I did not know JS enough ... so it is done in vanilla JS, without any libraries and using

davide

Javascript game in less then 1kb

Code golf winner of the js1k2010 c=document.getElementById("c");h=t=150;L=w=c.width=800;u=D=50;H=[];R=Math.random;for($ in C=c.getContext('2d'))C[$[J=X=Y=0]+($[6]||'')]=C[$];setInterval("if(D)for(x=

davide