HuskyLens is an easy-to-use AI machine vision sensor. It is equipped with multiple functions, such as face recognition, object tracking, object recognition, line tracking, color recognition, and tag(QR code) recognition.
Having installed the required modules, etc I am testing with the on a Rasperry Pi4.
Message 'knock' (a.) is giving back 'knock received' -> so I think Huskylens is working
However: When trying 'Set Custom Name' (b.) I get eror: SMBus object has no attribute 'timeout'

same when trying 'customText' (c.), same error but displaying 'hl' on screen.
same when trying 'clearText' (d.), same error and text 'hl' is cleared.

Is there anything missing on the installation (which is made according instructions) ?
Same problem, aftter run a simple test:
Code: Select all
from huskylib import HuskyLensLibrary

hl= HuskyLensLibrary("I2C","",address=0x32)

#Description: Get the number of frame HUSKYLENS have processed.
print("frameNumber:", hl.frameNumber())

#Description: Get the number of learned and unlearned objects on the screen.
print("count:", hl.count())

#Description: Get the total number of learned objects for the current running algorithm, objects do not need to be present on screen.
print("learnedObjCount:", hl.learnedObjCount())


Traceback (most recent call last):
File "", line 16, in <module>
File "/", line 387, in algorthim
return self.processReturnData()
File "/", line 217, in processReturnData
AttributeError: 'SMBus' object has no attribute 'timeout'