Skip to content

sdbenezra/sdbenezra-TJS-ObjectDetection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Recognition with Transformers.js

This is a Vanilla JS demo project using the Transformers.js library that allows you to run AI models in the browser, no server needed!

The project is simple consisting of only HTML, CSS, and Javascript. I began with the starting code and tutorials found here.

View the site running HERE.

Running the code

Download the html, css, javascript files to your machine. Start a server. (Two options are VS Code Live Server and Live Server) Open the html in your browser, download of the model will begin. When it is ready the 'Upload image' button will appear, and you can then upload an image.

Simply upload a picture to your browser using the upload image button. The model will analyze the image and display boxes around the objects it identifies along with their labels.

About

Object detection demo using Transformers.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published