Chess Robot using BrickPi3 - with vision and sound

brickpi3

#22

Implemented sound. Got rid of cv2 and now just uses PIL. Improved fswebcam usage.


#23

Painted the brown pieces matt black, and enhanced the vision algorithm


#24

Just with PIL? Very impressive!


#25

Thanks! Yes, just with PIL.


#26

Why get rid of cv2? Why go with pillow instead? I’m really curious to see what was the reason that pushed you to go with it.

Thanks!


#27

Well, to implement the algorithm which I describe in https://www.instructables.com/id/Build-a-Working-Chess-Robot-With-LEGO/, I only need a few simple functions. cv2 is large, and difficult to install. In fact when I attempted to install a version in order to get Extra functions, the RPi just hung/froze after going through many steps.


#28

I see. And yeah, I have to agree with the fact that cv2 is large and takes a lot to have it working.

Fun fact: I’m at this moment trying to get cv2 installed on the Raspberry Pi and it’s a pain.


#29

There’s a wheel available now on piwheels for cv2. Should be much easier to install.

Cleo