Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Only detect one action in pose #2

Open
duongvanthai opened this issue Jul 12, 2022 · 0 comments
Open

Only detect one action in pose #2

duongvanthai opened this issue Jul 12, 2022 · 0 comments

Comments

@duongvanthai
Copy link

Hi, I'm trying your demo. It's generally working with the fitness_pose_samples.csv demo file. But If I try to input another model. Your demo only detects one state of model file input. Example: If I try training another model on JumpingJack.csv file with two states - JumpingJack-in & JumpingJack-out It only detects the JumpingJack-out state. Almost model I have - it's working normally on Android. I check your source a lot but didn't find any bugs. Humm. Do you have any idea about this issue? :) Thanks.

P/S: I attached some models I train & It's working normally on android.
https://drive.google.com/file/d/1QaOXx6UsPxnrzO2pVgE_kFbgCDRc1dqT/view?usp=sharing
https://drive.google.com/file/d/10l6ozq096eAdWKcVq8RFHW-uHIOc1Cc4/view?usp=sharing

& on function loadPoseSamples() I have change split to .\isNewline because some model google auto gen end of with \r\n

let lines: [String] = text
            .split(whereSeparator: \.isNewline)
            .map(String.init)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant