DetectResponse: {
    images: string[];
    info: "Success" | "Error";
    poses?: {
        animals: any[];
        canvas_height: number;
        canvas_width: number;
        people: {
            face_keypoints_2d: number[];
            hand_left_keypoints_2d: number[];
            hand_right_keypoints_2d: number[];
            pose_keypoints_2d: number[];
        }[];
    }[];
}

Type declaration

  • images: string[]
  • info: "Success" | "Error"
  • Optional poses?: {
        animals: any[];
        canvas_height: number;
        canvas_width: number;
        people: {
            face_keypoints_2d: number[];
            hand_left_keypoints_2d: number[];
            hand_right_keypoints_2d: number[];
            pose_keypoints_2d: number[];
        }[];
    }[]