-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hello, I'm trying to make my code executed on RPi work with Huskylens, but I keep getting a Python error which I cannot seem to get around.
Python version: 3.9.x
My code:
print('Initializing...')
from huskylib import HuskyLensLibrary
import time
hl = HuskyLensLibrary("I2C","",address=0x32)
print(hl.knock())
print('Switching to face recognition algorithm...')
hl.algorthim("ALGORITHM_FACE_RECOGNITION")
print('Loading model...')
hl.loadModelFromSDCard(0)
print('Setting custom names...')
hl.setCustomName("Example1",1)
hl.setCustomName("Example2",2)
while "true":
for each in hl.learnedBlocks():
if each.ID == "Example1:ID1":
print("Hello Example1!")
if each.ID == "Example2:ID2":
print ("Hello Example2!")
time.sleep(1)
Complete error message:
)
Could you by any chance help me out? Thank you in advance. @robertprast @HuskyLens
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels