Hi Bill
I have built the df robotics arm, and have added the hexbase. but I would like to add a pixy cam so it can recognise an objects orientation to pick it up.
I think this would be a great addition to the robot arm
would like to add a pixy cam so it can recognise an objects
That would be totally COOL !
But, unfortunately, I'm pretty sure that the PixyCam works on color, and not shape
This sounds like a job for CV (Computer Vision, OpenCV, CV2, CV3, CV4) on a later model Raspberry Pi. I do know that they've released some precompiled compact versions for the Pi, but I've never tested them
Here's a link to a guy that I've been following. I've only tried CV on the Jetson Nano, not the Pi, so I can't say I've tried this specific procedure...
https://www.pyimagesearch.com/2018/09/26/install-opencv-4-on-your-raspberry-pi/
@cadcamman I was considering using the OpenMV Camera for exactly that purpose, it is a similar product to the PixyCam but much more versatile.
Spyder's idea of using OpenCV is also a good one. As he mentioned the PixyCam uses a hue-based color filtering algorithm and is best at distinguishing objects with distinct colors.
😎
Bill
"Never trust a computer you can’t throw out a window." — Steve Wozniak
Thanks Bill and Spyder, I will take a look at that.
😊
cadcamman
@dronebot-workshop, @cadcamman
I have both the V1 and V2 Pixies. They are neat for the time they were made and the size, but yes they are very limited.
I had both on two platforms, my DB1 like bot and a Servoctiy Bogie chassis. The V1 was off most of the time missing the trained colour indoors. The V2 I found worked better, but still missed the color a fair amount room to room and at different lighting levels. The V2 does work ok with the static graphs with decent alignment and lighting.
Now there are better cams out now like the M5StickV and Maix Cam from Sipeed (Seeedstudio). Both have the newer Risc-V AI accelerated chips in them and have Micropython as well. I have both of them and one on a chassis. I looked at the Huskycam from DRrobot, but I don't think it's packaged well interface/code wise, but maybe later.
The M5StickV and Maix are @30$USD or less, and can be used via serial or i2c (It's python on a BIG uC 🙂
Scott
@cadcamman I was considering using the OpenMV Camera for exactly that purpose, it is a similar product to the PixyCam but much more versatile.
A robot arm using OpenMV would make for a pretty neat video series. I'm curious to know more about how much a DIY robot arm can do.
Spyder's idea of using OpenCV is also a good one
Seems a very good idea to me too 😀, but I think I will need a dronebot episode to get me started 👍