mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-17 00:23:14 +00:00
Add MocapNET
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
|
||||
#include "opencv2/opencv.hpp"
|
||||
/** @file webcam.cpp
|
||||
* @brief This is a simple test file to make sure your camera or video files can be opened using OpenCV
|
||||
* @author Ammar Qammaz (AmmarkoV)
|
||||
*/
|
||||
#include <stdio.h>
|
||||
#include <vector>
|
||||
#include "jointEstimator2D.hpp"
|
||||
|
||||
#include "../MocapNET2/MocapNETLib2/IO/commonSkeleton.hpp"
|
||||
|
||||
using namespace cv;
|
||||
|
||||
int visualizeHeatmaps(struct JointEstimator2D * jointEstimator,std::vector<std::vector<float> > heatmapNNOutput,unsigned int frameNumber);
|
||||
|
||||
void dj_drawExtractedSkeletons(
|
||||
cv::Mat img,
|
||||
struct Skeletons2DDetected * sk,
|
||||
float factorX,
|
||||
float factorY
|
||||
);
|
||||
|
||||
|
||||
|
||||
int cropAndResizeCVMatToMatchSkeleton(
|
||||
struct JointEstimator2D * jest,
|
||||
cv::Mat & frame,
|
||||
struct Skeletons2DDetected * sk
|
||||
);
|
||||
Reference in New Issue
Block a user