Add a pixy cam to t...
 
Notifications
Clear all

Add a pixy cam to the dfrobotics 5dof arm

7 Posts
6 Users
3 Likes
1,100 Views
(@cadcamman)
Member
Joined: 4 years ago
Posts: 2
Topic starter  

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


   
Quote
Spyder
(@spyder)
Member
Joined: 5 years ago
Posts: 846
 
Posted by: @cadcamman

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/


   
ReplyQuote
(@dronebot-workshop)
Workshop Guru Admin
Joined: 5 years ago
Posts: 1075
 

@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


   
ReplyQuote
(@cadcamman)
Member
Joined: 4 years ago
Posts: 2
Topic starter  

Thanks Bill and Spyder, I will take a look at that.

 

😊 

cadcamman


   
ReplyQuote
triform
(@triform)
Member
Joined: 5 years ago
Posts: 324
 

@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 reacted
ReplyQuote
adrian
(@adrian)
Member
Joined: 4 years ago
Posts: 12
 
Posted by: @dronebot-workshop

@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.


   
cadcamman reacted
ReplyQuote
byron
(@byron)
No Title
Joined: 5 years ago
Posts: 1121
 

Posted by: @dronebot-workshop

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 👍 


   
cadcamman reacted
ReplyQuote