import { POSE_DETECTION } from "../../Api/ApiUrls";
// instructions
export const poseDetection = async ({ body }) => {
  try {
    console.log("POSE API ->", POSE_DETECTION);
    const res = await fetch(`${POSE_DETECTION}`, {
      method: "POST",
      headers: {
        "Content-Type": "multipart/form-data",
      },
      body,
    });
    let data = await res.json();
    return data;
  } catch (err) {
    console.log("FROM POSE DETECTION ", err);
  }
};
