-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy pathji.cpp
More file actions
43 lines (34 loc) · 916 Bytes
/
ji.cpp
File metadata and controls
43 lines (34 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <vector>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <string>
#include "ji.h"
using namespace std;
int ji_init(int argc, char** argv) {
return -2;
}
void *ji_create_predictor() {
}
void ji_destory_predictor(void* predictor) {
}
int ji_calc(void* predictor, const unsigned char* buffer, int length,
const char* args, const char* outfn, char** json) {
return -2;
}
int ji_calc_file(void* predictor, const char* infn, const char* args,
const char* outfn, char** json) {
return -2;
}
int ji_calc_video_file(void* predictor, const char* infn, const char* args,
const char* outfn, JI_EVENT* event) {
return -2;
}
int ji_calc_video_frame(void* predictor, JI_CV_FRAME* inframe, const char* args,
JI_CV_FRAME* outframe, JI_EVENT* event) {
return -2;
}