top | item 26916274

Vizy, an AI Camera for the Pi

198 points| kordlessagain | 5 years ago |vizycam.com | reply

57 comments

order
[+] helsinki|5 years ago|reply
If you throw in a classifier for detecting dog poop, and ideally, urine, I will buy five of them, place them around my home, and ensure the floors are clean before sending an API call to start my robotic vacuum. Thank you.

Edit: there is a market! https://news.ycombinator.com/reply?id=26916974&goto=item%3Fi...

[+] outworlder|5 years ago|reply
There are some robo vacuums with cameras that will avoid poop
[+] fudged71|5 years ago|reply
What I would really love is a camera looking out each side of my house and one upwards, looking at both ground and sky. Train it over the span of a year. And then notify me whenever something novel happens.

Beautiful sunset? Let me know. Strange car parked in front of my house? Let me know. Neighbours house on fire. Backyard intruder. Flooding. Etc. Anything sufficiently new that the camera hasn’t seen before.

Is there anything for that?

[+] ep_jhu|5 years ago|reply
Scale down your scope and it might be doable.

One of my pandemic projects was a Pi4 with HQ camera to detect/ID helicopters flying by my building, and also create sunrise/sunset videos and post them to twitter (https://twitter.com/dcskycam).

I set up the camera and used an OOB object detection model which works well enough. Also trained custom classifiers for helicopters after I had enough training data (work in progress for some aircraft types).

Also consider that some of the things you mention, a camera is not the best sensor for the task.

[+] ilaksh|5 years ago|reply
The problem is that something as ambiguous as you described requires human-level AI.

But if you could accept portions of it, you could build a detector for unusual vehicles (would yield a lot of false alarms). And a detector for beautiful sunsets. A system that would recognize individuals by gait and be trained by you for specific authorized persons. A detector for water on the ground.

It's possible to just detect any movement or significant change in the scene, but that would yield quite a few events that were actually not interesting. Like birds landing.

[+] anh_n|5 years ago|reply
I am working on something like that. Use computer vision to detect anomaly. If you are interested you can subscribe a newsletter to get notified when the feature is out at ai-cam.app
[+] dchichkov|5 years ago|reply
There are a few other, less expensive kits: AIY Vision Kit from Google, with Pi Zero ($50). Jetson Nano + IMX219 ($90).
[+] kordlessagain|5 years ago|reply
That's the Raspberry Pi Camera v2, however. It's also a Pi Zero which has some limited ability to run simple models, but it takes a while.

The Vizy has a custom high resolution camera special built for this platform that runs at 120 frames a second, not that it can detect things that fast. It also has a USB C port to connect a Google Coral device.

[+] rubatuga|5 years ago|reply
You can also overclock the Jetson Nano as well if you install a custom kernel.
[+] ajsharp|5 years ago|reply
Have been desperately wanting something like this so I can build an AI to detect when people don't pick up their dog shit in front of my gate. I am saved.
[+] ilaksh|5 years ago|reply
You can get the latest most powerful Raspberry Pi and connect any decent compatible camera, find a telescope adapter, and run something like Tiny-YOLO. That will save you around $200.
[+] spicybright|5 years ago|reply
If you're serious, please do a write up. I'm sure TONS of people would appreciate a project like this.
[+] jjeaff|5 years ago|reply
Just get a fake camera with a light and put it in an obvious place so everyone that walks by notices they are being filmed.
[+] scottlamb|5 years ago|reply
You probably want to mount a weather-resistant camera outside. You could buy an eg Reolink security camera for this fairly cheaply. [1] Then you can stream the video to a Raspberry Pi 4 + Coral USB accelerator, an nVidia Jetson nano, or the like and do analysis there.

[Edit: oh, I missed that the Vizy has an outdoor enclosure available. Still, it's extra $60 and is huge/ugly. The off-the-shelf IP camera + separate computer for analysis should be cheaper and IMHO better.]

I'm working on a Free Software security camera NVR system. [2] I have a pretty solid core recording engine now and am just thinking about what the API for on-NVR analytics plugins should look like. I'm imagining a Python API where you write some coroutine that can iterate through decoded video frames (either live or backlogged) and make calls to your favorite ML frameworks; add events, object detection tracks, and other metadata to the database; instruct that MQTT messages be sent; etc. If you're interested in using this kind of thing, I'd love to talk more.

[1] I used to recommend Dahua or Hikvision, but it seems they're actively supporting the Uyghur genocide via custom software, eg <https://www.latimes.com/business/technology/story/2021-02-09...>. I won't be buying any more cameras from them; I'm sure my boycott will devastate their business and cause them to reconsider their position immediately. As far as I know, Reolink is uninvolved, despite also being a Chinese company.

[2] https://github.com/scottlamb/moonfire-nvr

[+] endisneigh|5 years ago|reply
I’m not sure if you’re serious but this is pretty overkill for that.
[+] kalal|5 years ago|reply
While I believe this is interesting project, I got really distracted by the PR around it. "scientist love flow chart" is like talking to babies and making fun of science at the same time. The fake scientist in all pictures ... probably I am not the target audience here.
[+] nxpnsv|5 years ago|reply
Agreed, they seem to aim for parents wanting some STEM for kids...
[+] wokwokwok|5 years ago|reply
> If you’ve tried getting your device on the Internet, you’ll know that it’s typically not very easy.

That is true. Doing that in a secure and responsible way is really hard.

> Vizy’s software makes it really easy — it creates connections with public servers and provides you with a public URL that you can share with friends, family and colleagues.

...what if I don’t want my camera feed to be public?

> Access to the servers doesn’t require sign-up or monthly fees. Simple! You can then access your Vizy from practically anywhere with practically any device.

Mmm... so a free one click service that puts your video stream live on the internet?

What could go wrong?

Doing this properly is a hard problem, but I get zero confidence from reading this that they a) have the competence to do it or b) will continue to maintain it as a free service.

Given that big name companies get hacked when they’re trying very hard not to be, I think there some cause to think this is a an anti-feature for this product.

[+] kordlessagain|5 years ago|reply
Ngrok does something similar. This thing is a Pi. Secure it as you see fit.

Sure worrying is a thing but this is to build what you want; private or public!

[+] 3np|5 years ago|reply
Will they open-source the server side and accomodate for hosting your own server? If so it's legit interesting!
[+] llamataboot|5 years ago|reply
I backed this back in the fall for a winter ship date, so I'd take the June ship date with a grain of salt.

Not quite as long as my Mycroft kickstarter which shipped a full 2.5 years after expected shipping (but they DID ship so kudos to them) but yeah, hardware etc seems to always hit way more snags then expected

[+] azinman2|5 years ago|reply
They said they use the standard Sony camera but did driver changes to support 300fps… I’m very surprised that the rpi can handle 300 frames per second! Maybe very low resolution? But still that’s quite impressive for the SoC!
[+] ilaksh|5 years ago|reply
It really depends on what you are trying to do 300 times per second.

EDIT: Actually I just saw an article that I believe says 244 fps for Tiny YOLO on R Pi.

[+] nshm|5 years ago|reply
Well, you can do some basic things with this but honestly RPi4 is pretty much underpowered CPU for any serious AI. You can run some optimized networks probably even 200 fps like TinyYOLO linked below but it will always be a tradeoff between accuracy and hardware capabilities.

If you want AI you'd better consider Jetson or figure out some other DNN accelerator.

[+] tjoff|5 years ago|reply
For many applications 1 fps is plenty though
[+] ilaksh|5 years ago|reply
Jetson Nano does not seem a lot better than Rasp Pi to me. Nvidia Xavier NX is a different story.
[+] reasons|5 years ago|reply
Good project idea; the demand is clearly there. I could see myself buying a few.

The same can also be accomplished for $4 with an old iPhone and the AirBeam app by Appologics. Just point an AI capable device to the video feed or auto sync snapshots with the dropbox feature.

The app has some quirks though. Vizy seems like it might be more reliable.

[+] Jedd|5 years ago|reply
Piggy-backing on this topic -- I'd love to have a set (up to a dozen) of cheap devices watching the ground around our house, that could detect primarily, or even exclusively, snakes. I'm in regional Australia, so snakes near abodes are something we want to know about.

Naive motion detection doesn't work, as their total volume within an image is tiny. From what little I can find of people trying to do this, AI/ML struggles, as snakes tend to move slowly and look an awful lot like a stick.

Any pointers would be fantastic.

[+] Aea|5 years ago|reply
How does this compare to the OAK-1 and OAK-D from opencv.ai?
[+] canada_dry|5 years ago|reply
I particularly like their "smart power". RPIs not having a standard on/off button is just unnecessarily annoying.
[+] guymcgwire|5 years ago|reply
Love this. Moving to CM4 will make the form factor even better. If you're interested, here's an AI camera paired with a steerable hyperdirectional speaker that uses the Raspberry Pi and Google Coral: https://www.toutaudio.com/
[+] neartheplain|5 years ago|reply
"The technology to deliver targeted audio messages in stores didn't exist. So we invented it."

Bastards. /s

[+] toomuchredbull|5 years ago|reply
It's interesting I was saying the other day to my wife that Google home and the like needs some sort of an AI camera to truly be more helpful and she was aghast at the idea. Maybe we need something like this with a home server so that it is not in danger of being abused.
[+] phreeza|5 years ago|reply
Why is it seemingly impossible to buy DSLR grade image sensors for diy projects at a reasonable price?
[+] ruined|5 years ago|reply
because customer support is a big hassle. sony is one of the few sensor manufacturers left and they would rather only deal with manufacturers than hobbyists doing god-knows-what. you can get them, though.

arducam makes a cute little accessory board and sells kits with sensors pre-installed, and will also quote the more uncommon sensors for you if you send an email. https://www.arducam.com/docs/camera-breakout-board/

you can also find quotes from other suppliers. sony does full-frame and medium format sensors wholesale, and they’re available through distributors. https://www.sony-semicon.co.jp/e/products/IS/camera/product....

but of course, in most cases, these manufacturers would prefer that you buy a finished camera. there is really not much you can do with a bare sensor that isn’t easier with a consumer product, especially if you want to put a lens on it.

[+] bvvvv|5 years ago|reply
I have run into this issue as well. I just want a webcam with decent resolution.
[+] ksaj|5 years ago|reply
Click on the Pre-Order link. There is a tonne of peripherals and "stuff" you can add to it. This is a very impressive Kickstarter campaign. It looks like everything is of higher quality than you would expect.
[+] darepublic|5 years ago|reply
a few years back I wanted to do something like this with an automated flow where if an in car camera detects parking enforcement it will call the city parking api and pay for the next n minutes.
[+] amelius|5 years ago|reply
How fast is the image classifier, and what neural net architecture does it use?

Does it use specific hardware, or does it run on the generic ARM cpu of the RPi?

[+] VectorLock|5 years ago|reply
Is this software available free or open-source? I'd like to build one of these from parts I have rather than pay $300 for this.