Forum >Replies by ugodehaes
userhead ugodehaes
Replies (1)
  • You Reply: I connect husky to my raspberry pi with the usb cable.

    for p in ports:
    # print(f"port: {p.description}")
    if "CP2102N" in p.description:
    HUSKY_USB = p.device
    hl = HuskyLensLibrary("SERIAL", HUSKY_USB)
    hl.algorthim("ALGORITHM_FACE_RECOGNITION") # chose here your algorithm: face tracking

    Possible algorithms:
    "ALGORITHM_FACE_RECOGNITION"
    "ALGORITHM_OBJECT_RECOGNITION"
    "ALGORITHM_LINE_TRACKING"
    "ALGORITHM_COLOR_RECOGNITION"
    "ALGORITHM_TAG_RECOGNITION"
    "ALGORITHM_OBJECT_CLASSIFICATION"


    it's similar if you connect by i2c: https://github.com/DFRobot/pxt-DFRobot_ ... /README.md