Revert "Trimmed the branch to only the leg_detector sub directory"

This reverts commit 5ae9b2248ef421d1aec6907039fedd157dc537ce.
Rebase from 'upstream' (no changes)
Trimmed the branch to only the leg_detector sub directory