move graphs into subdirectory

This commit is contained in:
Jules Youngberg 2022-06-12 22:24:39 -07:00
parent 2936f3c2b2
commit 4fc9f7f3f8
4 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,7 @@ pub mod pose {
pub fn new() -> Self { pub fn new() -> Self {
let graph = Detector::new( let graph = Detector::new(
POSE_GRAPH_TYPE, POSE_GRAPH_TYPE,
include_str!("pose_tracking_cpu.txt"), include_str!("graphs/pose_tracking_cpu.txt"),
"pose_landmarks", "pose_landmarks",
); );
@ -260,7 +260,7 @@ pub mod face_mesh {
pub fn new() -> Self { pub fn new() -> Self {
let graph = Detector::new( let graph = Detector::new(
FACE_GRAPH_TYPE, FACE_GRAPH_TYPE,
include_str!("face_mesh_desktop_live.txt"), include_str!("graphs/face_mesh_desktop_live.txt"),
"multi_face_landmarks", "multi_face_landmarks",
); );
@ -325,7 +325,7 @@ pub mod hands {
pub fn new() -> Self { pub fn new() -> Self {
let graph = Detector::new( let graph = Detector::new(
HANDS_GRAPH_TYPE, HANDS_GRAPH_TYPE,
include_str!("hand_tracking_desktop_live.txt"), include_str!("graphs/hand_tracking_desktop_live.txt"),
"hand_landmarks", "hand_landmarks",
); );