|
@@ -160,8 +160,10 @@ int main(int argc, char *argv[]) {
|
|
|
|
|
|
//本地 local
|
|
//本地 local
|
|
std::vector<VideoSimilarityModel *> local = lists[size - 1];
|
|
std::vector<VideoSimilarityModel *> local = lists[size - 1];
|
|
- int test_vis[6][10] = {0};
|
|
|
|
- int test_vis_total[6][10] = {0};
|
|
|
|
|
|
+ //相似 hash 值
|
|
|
|
+ int test_vis[6][8] = {0};
|
|
|
|
+ //所有的 帧
|
|
|
|
+ int test_vis_total[6][8] = {0};
|
|
for (int j = 0; j < size - 1; ++j) {
|
|
for (int j = 0; j < size - 1; ++j) {
|
|
for (int g = 0; g < lists[j].size(); ++g) {
|
|
for (int g = 0; g < lists[j].size(); ++g) {
|
|
int *cur_sim = list_sim_compare(local[g]->hashs, lists[j][g]->hashs);
|
|
int *cur_sim = list_sim_compare(local[g]->hashs, lists[j][g]->hashs);
|