Looking for help setting up Multi-model mode on Huskylens 2

userHead LegendDan12 2026-05-19 00:55:22 211 Views1 Replies

Hello, as the title implies, I'm attempting to combine two of the algorithms that come pre-installed with Huskylens 2, I read the GitHub repository and have been trying to use the function: huskylens.SetMultiAlgorithm(ALGORITHM_FACE_RECOGNITION, ALGORITHM_EMOTION_RECOGNITION); , to achieve this.

However, while the huskylens does change to the multi mode and shows both models as options in the interface, it does not send any data back or seem to try to recognize any face, no led feedback either.

I'm having a hard time finding documentation on how to properly use it, and have found no example codes that could help with this, but 

2026-06-03 12:00:21

Hi,

 

You can try the multi-algorithm example code on GitHub (link https://github.com/DFRobot/DFRobot_HuskylensV2/blob/master/examples/MultiAlgos) — it works perfectly in my tests.

 

If you need to obtain data from both algorithms simultaneously, set the computing resource ratio via huskylens.setMultiAlgorithmRatio(1, 1).

 

The relevant tutorials are still being updated.

userHeadPic Yx