| | |
| | | using namespace cv; |
| | | |
| | | int main(int argc, char **argv) { |
| | | std::cout<<__DATE__<<std::endl; |
| | | ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); |
| | | |
| | | // unsigned char gateway_addr[15] = {0}; |
| | |
| | | // GetGateWay("enp1s0", gateway_addr); |
| | | // SetGateWay("enp1s0", (char *)gateway_addr, "192.168.1.1"); |
| | | |
| | | appPref.setLongData("gpu.index", 0);//gpu |
| | | appPref.setLongData("thread.max", 20);//sdk |
| | | appPref.setIntData("gpu.index", 0);//gpu |
| | | appPref.setIntData("thread.max", 20);//sdk |
| | | int port = appConfig.getIntProperty("webPort"); |
| | | devHttpServer_c _devHttpServer("0.0.0.0", port, 20);//webserver thread |
| | | |