Approved content
The content below is provided by a partner.
This extension is designed to programme and drive the AiLens.
The AI Lens is able to achieve the functions of face recognition, balls tracking, cards recognition and characteristics acquisition.
You can get AiLens from the Elecfreaks store
You can get a detailed tutorial on how to use it here ELECFREAKS WIKI
PlanetX_AILens.initModule()
PlanetX_AILens.switchfunc(PlanetX_AILens.FuncList.Card)
PlanetX_AILens.cameraImage()
PlanetX_AILens.checkBall()
PlanetX_AILens.ballColor(PlanetX_AILens.ballColorList.Red)
PlanetX_AILens.BallTotalNum()
PlanetX_AILens.ballData(PlanetX_AILens.Ballstatus.X)
PlanetX_AILens.checkFace()
PlanetX_AILens.faceTotalNum()
PlanetX_AILens.faceData(PlanetX_AILens.Facestatus.X)
PlanetX_AILens.numberCard(numberCards.1)
PlanetX_AILens.letterCard(letterCards.A)
PlanetX_AILens.trafficCard(trafficCards.forward)
PlanetX_AILens.otherCard(otherCards.cat)
PlanetX_AILens.cardTotalNum()
PlanetX_AILens.CardData(Cardstatus.X)
PlanetX_AILens.lineData(Linestatus.angle)
PlanetX_AILens.lineDirection(Linestatus.angle)
PlanetX_AILens.learnObject(1)
PlanetX_AILens.ClearlearnObject()
PlanetX_AILens.objectCheck(PlanetX_AILens.learnID.ID1)
PlanetX_AILens.objectConfidence(PlanetX_AILens.learnID.ID1)
for PXT/microbit
MIT
PlanetX-AI=github:elecfreaks/pxt-PlanetX-AI#v1.0.8