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

Only detect one action in pose #2

@duongvanthai

Description

@duongvanthai

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions