TensorFlow.js Object Detection Made Easy

preview_player
Показать описание

Here's what I cover:
00:00 | Intro
00:55 | Preview what I will build
01:35 | Create a Custom Vision project
03:01 | Upload & tag the images
05:41 | Train the model
06:30 | Evaluate / test the model
07:42 | Export & download the model
09:10 | A first look inside the web app
15:45 | Check the results
16:12 | Performance Optimizations

But defining your model structure and training it, is way more complex than just using a trained model.
Azure Custom Vision - one of the various Cognitive Services - offers you an easy way to avoid this hassle.

If you wan't to have a look at the final code, please check out my GitHub repository:

The dataset I used to train the model, can be downloaded here:

And don't forget to click the bell so you don't miss anything.

📢 If you enjoyed this video help others enjoy it by adding captions in your native language -

🚀 Tools and services I used in this video:
TensorFlow.JS

Azure Custom Vision

Visual Studio Code

✅ Recommended playlists:
TensorFlow.JS

Data Science

✅ Let's connect:

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support my channel and allows me to continue making awesome videos like this. Thank you for the support!

#TensorFlowJS #CustomVision #ObjectDetection
Рекомендации по теме
Комментарии
Автор

Hope you enjoy this video! Here's what I cover:
00:00 | Intro
00:55 | Preview what we will build
01:35 | Creatung a Custom Vision project
03:01 | Upload & tag the images
05:41 | Train the model
06:30 | Evaluate / test the model
07:42 | Export & download the model
09:10 | A first look inside the web app
10:32 | Integrating the model with TensorFlow.js
15:45 | Checking the results
16:12 | Performance Optimizations
… and more info here:
The GitHub repository
The dataset I used to train the model, can be downloaded here
TensorFlow.js Image Classification Made Easy

SaschaDittmann
Автор

And that's what I need. Thank you very much Sascha.. And I am asking for more.

krzusiekniwazne
Автор

How can I make this work with video instead of an image?
Also, when you click “Predict” it seems to take half a second, maybe even a second. If it would be a common 30fps video, it would have 30 images per second. But if it takes around a second to detect objects in one frame, I don’t see how it would be usable 🤔

MStoica
Автор

He sascha, nice tutorial! Thank you, that's what I actually needed. Too bad azure don't allow my debit card for the free trial. Do you have another approach?( Without azure)

dalandan
Автор

Hello Friend. tanks for the tutorial. I have an error to tray to run you proyect, in the console appeear this Uncaught Error: Based on the provided shape, [3, 3, 3, 16], the tensor should have 432 values but has 363 and the proyect dont work. how i can solve this. Tanks and regards.

elizabethcastrovillegas
Автор

I can't get past the error:

"Error: The shape of dict['Placeholder'] provided in model.execute(dict) must be [-1, 416, 416, 3], but was [1, 2560, 1440, 3]"

MajinVegeto
Автор

Hey Sascha,
I'm struggling to get you project running correctly with an own model. I trained a new model in CustomVision and just replaced your model in the project with my own new one, and I do get results, but the probabilty is a lot different from when I quicktest the exactly same image directly in Custom Vision. A prediction that gets a probability of 92.1% via the quicktest only gets a probability of 55%.

VogelVlug
Автор

is there anyway to
1. change box style (which one around image)
2. crop and save detected area to image file

RudfaanMaimahad
Автор

Getting this error in console. Model is loaded. Did not changes to the clone git

Uncaught (in promise) Error: Cannot infer the missing size in [-1, 0] when there are 0 elements

asddasd
Автор

Hi! sorry to reach out to you in this rather awkward way but im really at the end of my rope and cant find help anywhere.

Ive got a problem with azure customvision regarding your video about simple image recognition. I am adding my images (of fruits) and after training my model has 100% precision/recall and ap ... this makes the model completely useless. Do you have any idea what im doing wrong or where to find help?

FrewqasZ
Автор

Hello Thanks for your tutorial can you help me with one little problem i am getting this error with my own Model
Uncaught (in promise) Error: TensorList shape mismatch: Shapes -1 and 3 must match
at lv (util_base.js:108:11)
at OO (tensor_utils.js:28:3)
at e.t.setItem (tensor_list.js:229:5)
at control_executor.js:241:18
at u (runtime.js:45:40)
at Generator._invoke (runtime.js:274:22)
at [as next] (runtime.js:97:21)
at Um (runtime.js:728:43)
at o (runtime.js:728:43)
at runtime.js:728:43

song
Автор

Thanks for this tutorial. But I had a little problem, the predictions could not be made, localhost continued to show "running predictions" but it never finished. I don't know why, is it because of my big model? My model reaches 61 bin files.

Please help me

ahmadadib
Автор

Hello, Do you have a tutorial to implement this to node-red?

xhancexd
Автор

what is version 1 or version 2 @_@" how do we know the version?

manfyegoh
Автор

make a video on runtime detection on webcam

mirzaabdulrehman
Автор

Херня какая то, при регистрации пришлось засветить карту банка. И там нет тарифа бесплатного, есть тариф "с оплатой по мере использования". В ролике много вырезано. Интерфейс отличается координально. После регистрации сразу начнутся проблемы с пониманием и попытками повторить. Забейте, не тратьте время...

АнатолийП-ян
visit shbcf.ru