This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <type_traits> | |
| template<typename T, class Deleter> | |
| class raii_value | |
| { | |
| public: | |
| static_assert(std::is_fundamental<T>::value, "raii_value must hold a fundamental type"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "ofMain.h" | |
| class ofApp : public ofBaseApp { | |
| public: | |
| ofShader shader; | |
| ofEasyCam cam; | |
| ofFbo fbo; | |
| void setup() { | |
| ofBackground(0); | |
| ofFbo::Settings s; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| k4a_double_exponential_filter.h | |
| This file contains holt double exponential smoothing filter for filtering joints. | |
| It was ported for Azure Kinect Body Tracking SDK based on following implementation. | |
| https://social.msdn.microsoft.com/Forums/en-US/045b058a-ae3a-4d01-beb6-b756631b4b42 | |
| std::unordered_map<int32_t, double_exponential_filter> double_exponential_filter; | |
| while( true ) |
OlderNewer