You'll need to figure out how to get images from your IP camera. Usually IP camera provides an network endpoint to get the frames from the camera. You can download the latest frame, convert it to the RGB format in numpy array and the rest would be the same as detecting objects from the Pi camera as I explained in this video.
Raspberry Pi Pico is a microcontroller without the Linux OS so it needs a different framework to run ML models: TensorFlow Lite for Microcontrollers. Check out our documentation for more details and samples. www.tensorflow.org/lite/microcontrollers Due to microcontrollers' limited computing power, they can only run a limited set of ML models. Both the object detection and audio classification I introduced in this video can't run on microcontrollers.
this is always what I want to learn, btw can we object detect something difficult like dust/debris ? I wonder if later I would pour a flour or any random powder, could our machine find the difference ?
You'll need a custom model for that. Take a look at this video to find an in-depth instructions about training custom object detection model. th-cam.com/video/-ZyFYniGUsw/w-d-xo.html
@@khanhleviet5416 thank you for replying sir, correct me if I'm wrong, so basically tensorflow already got bunch of image sample/model on their library, but if we got something particular that might not included in the library we can train a new model/sample, is this true ?
@@flickmew99 That's correct. We published many pretrained computer vision (e.g. object detection) models on TensorFlow Hub (tfhub.dev) that can detect general objects. If you want to detect specific objects that aren't supported by the pretrained models, you'll need to collect training data yourself and use TensorFlow Lite Model Maker to train a custom model.
@@khanhleviet5416 sir, I just have a question.. What is the model architecture for the pre trained model available on tfhub.. Is it int8/uint8 or float 16.. Because I tried running my own int 8 tflite model that I converted from tensorflow using this program but it shows some errors
I can’t believe I used to think this junk was important. Fertilizer is important. Baby formula is important. Gasoline is important. My Raspberry Pi collection, worthless.
I guess you can potentially do quality control on baby formula with a raspberry pi. You can also hook up sensor to monitor compose for making fertilizer with a pi... Of course, maybe you don't monitor your fertilizer pile. You just let it sit for x amount of days and ship them off to be processed...
Hey, how do I run the picamera on 64 bit OS? For me the cam only works on 32 bit versions
I have problem running the tflite-model-maker, it hangs at the "200kb", anyone else have same issue?
Thank you for this wonderful introduction.
Great video! Thanks for posting this guide! 👍
Great introduction!
Is the Raspberry Pi Pico supported?
Warm greetings, thanks for the video. Please how can i run object detection with an IP camera?
You'll need to figure out how to get images from your IP camera. Usually IP camera provides an network endpoint to get the frames from the camera. You can download the latest frame, convert it to the RGB format in numpy array and the rest would be the same as detecting objects from the Pi camera as I explained in this video.
Model maker installation takes a decade, how to fix this?
Brilliant, thank you
when will tensorflow lite support raspberry pi pico micro controller ?
You can run TFLite models on RP Pico with proper optimizations. I guess the biggest limitation is it's working memory.
The framework is called TFLite Micro and it supports ARM Cortex M4+
Raspberry Pi Pico is a microcontroller without the Linux OS so it needs a different framework to run ML models: TensorFlow Lite for Microcontrollers. Check out our documentation for more details and samples. www.tensorflow.org/lite/microcontrollers
Due to microcontrollers' limited computing power, they can only run a limited set of ML models. Both the object detection and audio classification I introduced in this video can't run on microcontrollers.
this is always what I want to learn, btw can we object detect something difficult like dust/debris ? I wonder if later I would pour a flour or any random powder, could our machine find the difference ?
You'll need a custom model for that. Take a look at this video to find an in-depth instructions about training custom object detection model.
th-cam.com/video/-ZyFYniGUsw/w-d-xo.html
@@khanhleviet5416 thank you for replying sir, correct me if I'm wrong, so basically tensorflow already got bunch of image sample/model on their library, but if we got something particular that might not included in the library we can train a new model/sample, is this true ?
@@flickmew99 That's correct. We published many pretrained computer vision (e.g. object detection) models on TensorFlow Hub (tfhub.dev) that can detect general objects. If you want to detect specific objects that aren't supported by the pretrained models, you'll need to collect training data yourself and use TensorFlow Lite Model Maker to train a custom model.
@@khanhleviet5416 got it, thank you for the explanation, I'm going to study that for my project
@@khanhleviet5416 sir, I just have a question.. What is the model architecture for the pre trained model available on tfhub.. Is it int8/uint8 or float 16.. Because I tried running my own int 8 tflite model that I converted from tensorflow using this program but it shows some errors
finally i can put my pi 2 to work >:)
Please don't. I assure you, you need a minimum pi 3, which will also be very slow.
@@jhonshephard921 why did he mention pi 2 though
Yes this can work on the Pi 2 but the frame rate will be lower than Pi 3 and Pi 4 for the obvious reason.
So, no raspberry pi W Zero, where is the fun then
I can’t believe I used to think this junk was important. Fertilizer is important. Baby formula is important. Gasoline is important. My Raspberry Pi collection, worthless.
ROFL!! It's true though
I guess you can potentially do quality control on baby formula with a raspberry pi.
You can also hook up sensor to monitor compose for making fertilizer with a pi...
Of course, maybe you don't monitor your fertilizer pile. You just let it sit for x amount of days and ship them off to be processed...
@@porcorosso4330 What good is electronics when everyone has lost their minds and is seeking global thermonuclear war?
So you´re saying that only one thing can be important? If your pi collection is worthless, would you mind sending it to me free of charge?
Is he Korean
Vietnamese
@@duycuongpham7407 merci