Forum >Replies by danielmeireles
userhead danielmeireles
Replies (4)
  • You Reply: Hi There,

    Did you tried the USB HuskyLens Uploader using Windows ?.

    https://wiki.dfrobot.com/HUSKYLENS_V1.0 ... 6#target_5

    []'s
    Daniel
  • You Reply: I believe this is a issue on python library.

    i'm getting the same errors like you.
  • You Reply:
    geab wrote:I have uploaded 0.4.9Class firmware from the Github and tried to train 3 different objects using a white paper as background.
    When I finish the training Huskylens can recognize the 3 objects and differentiate them - Nice!
    But whenever I point Huskylens at an area (eg wodden table or the white paper) with none of the 3 objects it will still display eg Object:ID1 or 2 on the screen.

    Could you share how you did the training of the gestures in a tutorial?

    Cheers, Gernot
    I got this behavior after use the object classification, the Huskylens still show Object:ID1 on screen.

    Please, this is normal ?. Even if i point to a white paper?.

    Thanks
  • You Reply: Same problem, aftter run a simple test:
    Code: Select all
    from huskylib import HuskyLensLibrary
    
    hl= HuskyLensLibrary("I2C","",address=0x32)
    print(hl.knock())
    
    #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())
    
    hl.algorthim("ALGORITHM_OBJECT_CLASSIFICATION")
    

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