slightly tweaked mocapnet alt container

This commit is contained in:
Kasisnu
2024-01-18 19:23:00 +05:30
parent 881c2fc840
commit 0d662c5b9d
294 changed files with 99862 additions and 2 deletions
@@ -0,0 +1,35 @@
#pragma once
/** @file visualization.hpp
* @brief Code that handles GUI output and visualization using OpenCV.
* If OpenCV is not be available, CMake will not declare the USE_OPENCV compilation flag and the whole code will not be included.
* @author Ammar Qammaz (AmmarkoV)
*/
#include <iostream>
#include <vector>
#include "../mocapnet2.hpp"
#include "../applicationLogic/parseCommandlineOptions.hpp"
#if USE_OPENCV
#include "opencv2/opencv.hpp"
using namespace cv;
#endif
#if USE_OPENCV
#if USE_BVH
int visualizeSkeletonSerialized(
cv::Mat &outputMat,
struct skeletonSerialized * skeleton,
unsigned int drawLeftFingers,
unsigned int drawRightFingers,
unsigned int drawFace,
unsigned int x,unsigned int y,
unsigned int width,unsigned int height
);
int drawSkeleton(cv::Mat &outputMat,std::vector<std::vector<float> > points2DOutputGUIForcedView,float offsetX,float offsetY,int labels);
#endif
#endif