AI视觉目标检测算法

#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include "sockutil.h"
#include "Util/util.h"
#include "Util/logger.h"
#include "Util/uv_errno.h"
#include "Util/onceToken.h"
#if defined (__APPLE__)
#include 
#endif
using namespace std;
namespace toolkit {
#if defined(_WIN32)
    static onceToken g_token([]() {
        WORD wVersionRequested = MAKEWORD(2, 2);
        WSADATA wsaData;
        WSAStartup(wVersionRequested, &wsaData);
    }, []() {
        WSACleanup();
    });
    int ioctl(int fd, long cmd, u_long *ptr) {
        return ioctlsocket(fd, cmd, ptr);
    }
    int close(int fd) {
        return closesocket(fd);
    }
#endif // defined(_WIN32)
string SockUtil::inet_ntoa(struct in_addr &addr) {
    char buf[20];
    unsigned char *p = (unsign

你可能感兴趣的:(算法)