Real time object classification

Hi,
Is it possible to do a real time object classification(like the bears) in real time?
Like to classify the object my laptop camera can see.
Is such a thing possible with fastai?
If yes, how?

Thanks

1 Like

Yes, usually how this would work is you would figure out how long it takes your CPU to capture an image and be able to predict on it, and then you set a loop that will do the following:

Take an image from your webcam
Run that image through learn.predict()
Run that as an overlay

So you will have a ‘lag’ for a few moments.

I’d look at the last few parts he notes about production.

2 Likes

Thanks, I’ll look into it :smile: