ml5.js: Object Detection with COCO-SSD

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น • 165

  • @udderbird1808
    @udderbird1808 4 ปีที่แล้ว +30

    This is awesome. My dog always steels the cat's food. So I'm gonna detect who's in front of the food bowl and scare the dog away by playing a soundfile.

  • @Educ8s
    @Educ8s 4 ปีที่แล้ว +41

    Hey Daniel! I really like your work and your enthusiasm. Keep it up!

  • @benjaminoechsle2091
    @benjaminoechsle2091 4 ปีที่แล้ว +18

    You are such a great teacher. I started watching your videos three years ago when I had no clue of programming whatsoever. And you are the reason why I study computer-science in the 4th semester right now with age 37 and loving it. Thank you so much for everything and keep up this incredible work!!!❤️❤️❤️

    • @Educ8s
      @Educ8s 4 ปีที่แล้ว +3

      Keep it up Benjamin. Studying Computer Science will change your life

  • @Roknok
    @Roknok 4 ปีที่แล้ว +7

    My exams ended and I was bored ....suddenly a notification came that you have uploaded a video on ml5 which I like so much

  • @bunnybloods768
    @bunnybloods768 4 ปีที่แล้ว +10

    Big fan from India. He is the only best teacher all over the world. This type brief explanation videos are not available even in paid courses . He is legend🇮🇳🇮🇳🇮🇳

  • @nicolevella6701
    @nicolevella6701 4 ปีที่แล้ว +5

    thank you for your enthusiasm and your positivity in making these videos Daniel. I personally have benefited from them greatly. I hope to share some of my work with you soon! Your passion is simply wonderful. Please do have a blessed day and stay safe. Sending coding love from Canada.

  • @enivaldobonelli
    @enivaldobonelli 4 ปีที่แล้ว +1

    Great! I was waiting for this! I noticed that in previous image classifications, the classification engines already were detecting other objects in the scene. You know, when it keeps seen things that seem not to make sense, different things for the same image on the video. I checked some of them. Now it tells us where it sees them.

  • @嘩啦啦-r1n
    @嘩啦啦-r1n 2 ปีที่แล้ว

    thank you for always being so enthusiasm and positivite, oh Daniel,it's really enjoy and fun to code with these video,you are amazing ~

  • @AdityaKumar-gl1to
    @AdityaKumar-gl1to 3 ปีที่แล้ว +4

    Error: The video element has not loaded data yet. Please wait for `loadeddata` event on the element

  • @puneetjain5625
    @puneetjain5625 4 ปีที่แล้ว +1

    I feel so excited that I am also reading WMD right now! Definitely important for us to know the ethical implications of the datasets and how they are collected and trained.

  • @endyy6671
    @endyy6671 4 ปีที่แล้ว +1

    These videos have been super educational during these tough times, thanks for all of your hard work! looking forward to seeing more of your pets when coding in the cabana returns :)

  • @DoomedCookie69
    @DoomedCookie69 4 ปีที่แล้ว +2

    The baseball bit really got me laughing. Well done!

  • @ashwinjayaprakash7991
    @ashwinjayaprakash7991 4 ปีที่แล้ว

    Wow its refreshing to see you Dan after so many months !! And also, somebody definitely has been working on his drawing skills in lockdown

  • @casperdesmet1132
    @casperdesmet1132 4 ปีที่แล้ว

    At 12:52 the model thinks your hand is a frisbee haha. Great video, love this type of coding.

  • @kavinbharathi
    @kavinbharathi 4 ปีที่แล้ว

    I really love this video. I was feeling low for some reason. I feel energetic and happy now....

  • @srojasv21
    @srojasv21 4 ปีที่แล้ว

    thanks! we were missing this type of videos!! They are fun to watch ...
    Nice editing by the way!

  • @maheshnv4848
    @maheshnv4848 4 ปีที่แล้ว

    best coding channel i know off

  • @ksbplayz9742
    @ksbplayz9742 2 ปีที่แล้ว

    Best channel ever! wowww so amazed this is the best i can't belive i witnessed the greatest channel ever sheeeeeeeeeeeeesh!

  • @asutoshghanto3419
    @asutoshghanto3419 4 ปีที่แล้ว +1

    sir please keep making videos regularly ,love from india

  • @8eck
    @8eck 4 ปีที่แล้ว

    Niiiiice! At laaast! Thank you for this. Please please please, more videos about AI and ML stuff.

  • @acm1812
    @acm1812 4 ปีที่แล้ว +1

    Love these short videos!

  • @tedremmets8331
    @tedremmets8331 4 ปีที่แล้ว

    How the hell can 5 people downvote this video. This is so excellent!

  • @tehsinashaikh7798
    @tehsinashaikh7798 4 ปีที่แล้ว

    Thank you so much for such an amazing video. This has helped me a lot with my studies. Keep bringing these types of videos

  • @supercrafter100
    @supercrafter100 4 ปีที่แล้ว

    Quality video as usual. Keep up the good work man 😉

  • @WolfieMoonDev
    @WolfieMoonDev 3 ปีที่แล้ว

    I Need to try this!!! I didn’t even know this was possible until now!

  • @alexsandergutierrezgoncalves
    @alexsandergutierrezgoncalves 4 ปีที่แล้ว +4

    I would like to see you make a series one day by creating a convolution neural network with p5.js and pure javascript, and showing how all the logic and mathematics work behind

  • @connordechart
    @connordechart 4 ปีที่แล้ว

    wow never been so early on your videos, love you bro good content

  • @hussainsalih3520
    @hussainsalih3520 4 ปีที่แล้ว +1

    Keep uploading 😎 you are amazing 😉

  • @pastuh
    @pastuh 4 ปีที่แล้ว +2

    Thanks, very useful :)
    Interesting how i can train data myself :)

  • @MrGurkanify
    @MrGurkanify 2 ปีที่แล้ว

    hi
    I wish I had teachers like you

  • @AdicttedGamer
    @AdicttedGamer 4 ปีที่แล้ว +7

    Hey Daniel, any plans to walk through setting up ml5 with a custom yolo model for object detection ? I see the documentation specifies the default one but it would be nice to load a custom one.

  • @Its.abhi..
    @Its.abhi.. 4 ปีที่แล้ว

    Lots of luv sir . From india

  • @tabletop5875
    @tabletop5875 4 ปีที่แล้ว

    this guy is the best.

  • @mopas6386
    @mopas6386 4 ปีที่แล้ว

    I feel like as if I can code that thing already you explained it that clearly!
    ...may I add I have no clue how to code in that language, I barely started learning how to program.

  • @geoffwagner4935
    @geoffwagner4935 ปีที่แล้ว

    My mom always called Lexi our coffee table dog. Shepard (a very at one), with short little basset hound legs. Mom joked about us having a taxidermist make stuff her and make her into a coffee table. this one looks like would be interesting stuffed too, she can be a pillow, and kitty , bet it would people would love if they went to pet Gloria on her couch, forever and ever! xD

  • @manuelbolivar9791
    @manuelbolivar9791 2 ปีที่แล้ว

    Hi Daniel, great video as always. Love your hard work and your "get to the point" style of explaining things. Would like to ask you to point out some tips for comparing images. I'm in need of a library and plain JScript code to create a callable object inside an MDM tool in order to compare different images of a same product, for instance. Thanks a lot for all your content!!

  • @nardove
    @nardove 4 ปีที่แล้ว +2

    A video on how to retrain the COCO model will be a great follow up 🤞

    • @TheCodingTrain
      @TheCodingTrain  4 ปีที่แล้ว

      I'm going to look at doing this with RunwayML soon!

    • @nardove
      @nardove 4 ปีที่แล้ว

      @@TheCodingTrain 👏👏👏

  • @ashishajin4712
    @ashishajin4712 4 ปีที่แล้ว +13

    Ooh this was exactly what i was looking for, thxx but i cant watch now i have a test for html tmmrw :(

    • @TheCodingTrain
      @TheCodingTrain  4 ปีที่แล้ว +15

      It'll be here whenever you are ready to watch!

    • @mopas6386
      @mopas6386 4 ปีที่แล้ว +9

      Good luck! :D

    • @crabby2ndaccount492
      @crabby2ndaccount492 4 ปีที่แล้ว +2

      @@mopas6386 lmao using html comments

  • @ayoubsa9967
    @ayoubsa9967 4 ปีที่แล้ว

    thanks for effort i loved that video

  • @khalidr11
    @khalidr11 4 ปีที่แล้ว

    Wtf! This is Amazing 🔥🔥🔥

  • @CYON4D
    @CYON4D 4 ปีที่แล้ว

    Another awesome video!

  • @amymatthews4980
    @amymatthews4980 4 ปีที่แล้ว

    Nice work 🌈👏

  • @BajoMundoUnderground
    @BajoMundoUnderground 3 ปีที่แล้ว

    realy good keep it up,

  • @kayrauckilinc
    @kayrauckilinc 4 ปีที่แล้ว

    Yaaay! 2020 is a bit better now

  • @nagesh007
    @nagesh007 4 หลายเดือนก่อน

    awesome , thanks

  • @gazul05
    @gazul05 4 ปีที่แล้ว

    Great! Thanks a lot. 💯👍

  • @MiguelRodriguez-wn8mc
    @MiguelRodriguez-wn8mc ปีที่แล้ว

    Hello, good explanation. Suppose we have 4 cats in the image, how could this detection of cats be counted, how could the counter be carried out?

  • @thomastarp
    @thomastarp 2 ปีที่แล้ว +3

    If anyone else is experiencing the error that the video is not yet loaded, you can do the following:
    Add a callback function to the createCapture call, like this:
    video = createCapture(VIDEO, videoLoaded);
    You can then add the first detection in the callback function like this:
    function videoLoaded() {
    detector.detect(video, gotDetections);
    }

  • @ishaan600
    @ishaan600 4 ปีที่แล้ว +11

    hey man, I really like your content. I'm just wondering why you cant be my teacher in everything.

    • @HarunTerzi911
      @HarunTerzi911 3 ปีที่แล้ว

      Maybe he'll want to adopt you 😜

  • @namanvyas4016
    @namanvyas4016 4 ปีที่แล้ว +2

    Make a video about how to train a object detection model

  • @pacoperico1109
    @pacoperico1109 2 ปีที่แล้ว

    EXCELLENT!!!!

  • @MiguelRodriguez-wn8mc
    @MiguelRodriguez-wn8mc ปีที่แล้ว

    good explanation a query how you can train a new model for coco to detect other objects such as yeast cells, microplastics etc. objectDetector = ml5.objectDetector(model.json,'cocossd');

  • @frankbraker
    @frankbraker 7 หลายเดือนก่อน

    I really want to know how to train a custom model for object detection. Thanks.

  • @geeknrd962
    @geeknrd962 4 ปีที่แล้ว

    using webcam, you can display there screen, have a button that kinda takes a picture, and detects objects in that picture.

    • @geeknrd962
      @geeknrd962 4 ปีที่แล้ว

      nevermind. you already did it. i commented that at 11 mins through

  • @greendsnow
    @greendsnow 2 ปีที่แล้ว

    Wonderful! How do we train our customized cocossd with ml5 then?

  • @sidsingh9165
    @sidsingh9165 4 ปีที่แล้ว

    Hey I was wondering if you could make a video with the newest version of processing.

  • @mrafayshams3089
    @mrafayshams3089 4 ปีที่แล้ว

    Great Video!! Can you please let me know how to have the program capture the screen feed rather than a video or a picture. Meaning, while I'm using my computer, I want the code to run in the background to detect certain objects. Please please please help.

  • @andirapurnamaalam2458
    @andirapurnamaalam2458 3 ปีที่แล้ว

    i love this but i wonder can i change the output name in another language? i hope u can answer me

  • @mirzaabdulrehman428
    @mirzaabdulrehman428 4 ปีที่แล้ว

    which model can detect smoke and fire any idea?

  • @J3FFR3Y-AG
    @J3FFR3Y-AG 3 ปีที่แล้ว

    How to make letter detector?

  • @kamakshi.j8566
    @kamakshi.j8566 4 ปีที่แล้ว

    Hey,I just love the way you teach coding.please help me,out to work with collide 2D library in p5.js and how to download p5. play library to p5.js. please help me

  • @adityapadhi6474
    @adityapadhi6474 2 ปีที่แล้ว

    is it possible to detect shapes ?

  • @omnipotentfish
    @omnipotentfish ปีที่แล้ว

    I keep getting an error:
    "The video element has not loaded data yet. Please wait for `loadeddata` event on the element."
    what am I doing wrong? should I use promises? HELP

  • @bringmebacklights
    @bringmebacklights 4 ปีที่แล้ว

    how much weight a data size for one object?

  • @ishanarora2948
    @ishanarora2948 ปีที่แล้ว

    not able to find the repo for this

  • @tehsinashaikh7798
    @tehsinashaikh7798 4 ปีที่แล้ว

    can you upload a video on yolo for object detection

  • @MLHAFAKOT
    @MLHAFAKOT 2 ปีที่แล้ว

    can we do image segmentation im ml5 and p5 ?

  • @manasomali
    @manasomali 4 ปีที่แล้ว

    Daniel, ml5 can work with natural language processing, maybe with entity recognition? great work as always o/

  • @АнатолийП-я2н
    @АнатолийП-я2н 4 ปีที่แล้ว

    If nothing is specified in the model objectDetector = ml5.objectDetector (''); that also works, why? What models are supported by YOLO, YOLOv3, YOLOv3-320, YOLOv3-416, YOLOv3-608 ??? How do you know which model works?

  • @enivaldobonelli
    @enivaldobonelli 4 ปีที่แล้ว +2

    I have five cats. Could we learn how to add to this database too?

  • @code_ho
    @code_ho 4 ปีที่แล้ว

    Sound Counter(How many time the person claps, knock or how many time the dogs bark/cat meow) tutorial please. I tried to log the sound classification output but the counter seems wrong.

  • @AJ93-lx6on
    @AJ93-lx6on 5 หลายเดือนก่อน

    I already have custom trained model from yolo google colab and have best.pt or changed format to onnx model.How can i use that custom model here?

  • @mrlevo27
    @mrlevo27 3 ปีที่แล้ว

    So I have a mjpg video live stream where I want to detect objects... Any idea I can use that?

  • @antonantonov7745
    @antonantonov7745 4 ปีที่แล้ว

    Can I use my own Model Url( not only coco and yolo)

  • @flothetech3526
    @flothetech3526 4 ปีที่แล้ว

    Can you build a rts game like warcraft2 or starcraft?

  • @alexliebhaber3109
    @alexliebhaber3109 2 ปีที่แล้ว

    Has anybody ran into an issue when trying to get the green squares around the detections? I have tried everything I can think of and I cannot get them to show, the object.x .y etc are console logging just fine, but Idk what to do

  • @everybodylovesmatthew8755
    @everybodylovesmatthew8755 4 ปีที่แล้ว

    😊😊😊Thanks bro

  • @dalandan8300
    @dalandan8300 2 ปีที่แล้ว

    Is it limited to that 80 objects? Is there a way to dynamically add other objects?

  • @emirhanvurhan6238
    @emirhanvurhan6238 4 ปีที่แล้ว

    so cool

  • @shreyasmahajan3488
    @shreyasmahajan3488 3 ปีที่แล้ว

    Great content. Very informative and useful. I have just started with object detection and I wanted to know if there is any way to speed up model loading as it is taking time to load the model and is blocking the UI ?

    • @TheCodingTrain
      @TheCodingTrain  3 ปีที่แล้ว +3

      You could try downloading the model and loading it from a local file, also adding a callback instead of preload() you can incorporate a loading animation!

    • @shreyasmahajan3488
      @shreyasmahajan3488 3 ปีที่แล้ว

      @@TheCodingTrain Thanks for the suggestions. Will try it.

  • @bravenwolf9419
    @bravenwolf9419 2 ปีที่แล้ว

    Hi, may i ask how to make an custom image object detection ?because cocossd can get that fixed 80 object only not?

  • @dalandan8300
    @dalandan8300 2 ปีที่แล้ว

    Hello, is it possible to create my own model? Im planning to use tf for grocery store items.

  • @crabby2ndaccount492
    @crabby2ndaccount492 4 ปีที่แล้ว

    This seems like a feature I would want to add to my main discord bot, gl hf

  • @thesilentkiller3882
    @thesilentkiller3882 4 ปีที่แล้ว

    can you make a video of finding out ap /map for this?

  • @souptiknath4668
    @souptiknath4668 4 ปีที่แล้ว

    But how can I make my own model with mu own image like coco ssd?

  • @ameynaik2743
    @ameynaik2743 3 ปีที่แล้ว

    Great video! Thanks! Question - When I run p5.js in a browser, my fan speeds start to spin at the highest rpm. The same thing happened when I was running the posnet model. Any tips on how to avoid it? Can I reduce fps of the webcam output?

  • @igotapochahontas
    @igotapochahontas 4 ปีที่แล้ว

    Have you considered showing mobile versions of these? MobileNet is supposedly built for mobile but I'm curious what your workflow would be. I use droidscript, termux, and a local server to develop from my phone. But several of these AI videos haven't worked when I run them.

  • @PhạmNguyễnHoàngAnh-anhpnh
    @PhạmNguyễnHoàngAnh-anhpnh 8 หลายเดือนก่อน

    How to tracking Object Detected?

  • @danielcso
    @danielcso 3 ปีที่แล้ว

    Can I train/save object detection models same as image classification?

  • @simplexination9837
    @simplexination9837 3 ปีที่แล้ว

    very good content. can we use ml5 for train custom object detection?

  • @swplogic4158
    @swplogic4158 4 ปีที่แล้ว +1

    Uncaught TypeError: Cannot read property 'split' of undefined (: line 56)

    • @ericmckevitt8308
      @ericmckevitt8308 4 ปีที่แล้ว +1

      same. did you end up finding a solution?

    • @swplogic4158
      @swplogic4158 4 ปีที่แล้ว

      @@ericmckevitt8308 no

    • @ericmckevitt8308
      @ericmckevitt8308 4 ปีที่แล้ว

      @@swplogic4158 I’m not sure if you’re still working on it, but in case you’re curious, I believe the error occurs because the video data isn’t loaded by the time it’s called to be used. I had the script wait for me to prompt it with a button and now it works fine.

  • @vigdora100
    @vigdora100 3 ปีที่แล้ว

    can I use my custom object detection with ml5, instead of COCO-SSD

  • @dusty6129
    @dusty6129 4 ปีที่แล้ว

    I lost it when he used the paint brush as a baseball bat

  • @MarkeTrade-MarketPlace
    @MarkeTrade-MarketPlace 3 ปีที่แล้ว

    hello sir , can you help me please in my project , I wanna built an object detection system using COCO-SSD node in node red

  • @MajinVegeto89
    @MajinVegeto89 2 ปีที่แล้ว

    Is it possible to use ML5 in Node?

  • @wheresthecode
    @wheresthecode 2 ปีที่แล้ว

    is there a way to assign unique ids per object detected. Example, if i have to count people, i would want to assign an ID to each person detected so that i don't count the same person over and over if they are still in frame. I once did this using deepsort/SORT in python. How can i achieve this in js?

  • @juand3250
    @juand3250 4 ปีที่แล้ว

    I really liked the video, it's very interesting.
    But I need some help. I am trying to implement object detection, but using an external canvas (not using p5.js). Is there a way I can use an HTML canvas with ml5.js or use that canvas with p5.js?.
    I am sorry, I don't understand very well how p5.js works.
    Thanks

  • @israamohamed6050
    @israamohamed6050 3 ปีที่แล้ว

    Hi Danial , I tried to train a model in TM and use it the same way here but it's not working I'm getting an error for the length. Will it actually work for a teachable machine trained model?

  • @oscarcamacho5902
    @oscarcamacho5902 4 ปีที่แล้ว

    hi, can I use a model trained in objectDetect or only coossd and yolo?

  • @alifardiansyahrusmana4879
    @alifardiansyahrusmana4879 4 ปีที่แล้ว

    how to make camera work on android pls, it can work at web but not in android