Change Huskylens mode via programming

userHead Delavel 2024-05-19 10:41:57 942 Views1 Replies

Hi,

I've been using the Huskylens to track faces (any face), but would like to try the function that recognises a person.  However, it's a bit tricky getting to the hardware, and I am wondering if it possible to change the mode via the arduino.  I note that there are some functions available, such as bool writeLearn(int ID), but can anyone please tell me if there is a similar command to switch between modes.

Many thanks…

2025-08-18 14:46:55

https://github.com/HuskyLens/HUSKYLENSArduino/tree/master#enum-protocolalgorithm

 

https://github.com/HuskyLens/HUSKYLENSArduino/blob/master/HUSKYLENS/HUSKYLENS.h

 

huskylens.writeAlgorithm(ALGORITHM_LINE_TRACKING); //Switch the algorithm to line tracking.

userHeadPic tguneysu