23 lines
506 B
C++
23 lines
506 B
C++
#pragma once
|
|
|
|
#include "json.hpp"
|
|
#include <iostream>
|
|
#include <fstream>
|
|
#include "structs.h"
|
|
|
|
class CF
|
|
{
|
|
public:
|
|
static CF& inst() {
|
|
static CF instance;
|
|
return instance;
|
|
}
|
|
CF(CF const&) = delete;
|
|
void operator=(CF const&) = delete;
|
|
void init();
|
|
nlohmann::json data;
|
|
|
|
private:
|
|
CF();
|
|
std::string linkFileConfig = "/opt/nvidia/deepstream/deepstream-6.0/sources/gst-plugins/gst-dsexample-OCR/data/config.json";
|
|
}; |