Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
wataru committed May 7, 2022
1 parent 06bc720 commit ffcc1ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified tfl008_pose-landmark-detection/resources/wasm/tflite-simd.wasm
Binary file not shown.
Binary file modified tfl008_pose-landmark-detection/resources/wasm/tflite.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions tfl008_pose-landmark-detection/wasm/tflite.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,11 +356,11 @@ class MemoryUtil
cv::Mat change;
if (calculate_mode == 0 || calculate_mode == 1)
{
cv::Mat change = cv::getRotationMatrix2D(center, (pose_result.poses[i].rotation * 60), 1);
change = cv::getRotationMatrix2D(center, (pose_result.poses[i].rotation * 60), 1);
}
else if (calculate_mode == 2)
{
cv::Mat change = cv::getRotationMatrix2D(center, (pose_result.poses[i].rotation * 0), 1);
change = cv::getRotationMatrix2D(center, (pose_result.poses[i].rotation * 0), 1);
}
//// 回転
cv::Mat rotated_pose(resizedTranslationCanvas.size(), CV_8UC4);
Expand Down

0 comments on commit ffcc1ab

Please sign in to comment.