HuskyLens - Rock Paper Scissors Game
Channel: Keeping IT Simple
Date: 2023-01-20

a simple demonstration  to show using the "Object Classification" function of the HuskLens by DFRobot, Here we train the HuskyLens to recognise 3 different hand signs so that we can play a simple rock/paper/scissor type game against the Microbit.

*****************************************************************************
The Huskylens is an edge ( offline ) AI vision device that can be "taught " to recognise & track  colours/shapes/Tags(Bar codes ) , faces,Lines.

Here i have connected it to a BBC Micro:Bit but as it uses I2C or UART you can also connect it to Arduino, Raspberry Pi etc. Various libraries & examples are available for all these.


PLEASE NOTE - The MaQueen robot shown in this video is NOT required to operate HuskyLens, I used it as it was already connected to the MicroBit / HuskyLens so it simplified the making of this video

*****************************************************************************

This was programmed using Microsoft MakeCode & the code can be found here....
https://makecode.microbit.org/_9zE9vrhyXCec

MakeCode extensions for the Huskylens & the Micro MaQueen are available in the EXTENSIONS search on the MakeCode website above


Algorithm used in the code is by Jeffrey  from "Never To Late To Learn" Website
shorturl.at/afrzC

******************************************************************

Huskylens was purchased from The PiHut in the UK....
https://thepihut.com/products/gravity-huskylens-an-easy-to-use-ai-machine-vision-sensor

HuskyLens is made / supported by DFRobot...
https://wiki.dfrobot.com/HUSKYLENS_V1.0_SKU_SEN0305_SEN0336#target_22


Micro MaQueen robot is by DFRobot - mine is a older V3, there are several versions / packs available....
https://www.dfrobot.com/search-maqueen.html

A list of "official" DFRobot distributors can be found at...
https://www.dfrobot.com/index.php?route=information/distributorslogo

********************************************************

BBC Micro:bit is available from your usual suppliers - some of whom can be found here....
https://microbit.org/buy/