You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
325 B
19 lines
325 B
#include <fingerprint.hpp>
|
|
|
|
extern "C" {
|
|
#include <libavformat/avformat.h>
|
|
}
|
|
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
int main(){
|
|
av_register_all();
|
|
auto image = open_as_rgb("test.jpg");
|
|
|
|
rgb_wavelet_coefficients x = rgb_wavelet_coefficients::calculate(image);
|
|
|
|
cout << x << endl;
|
|
cout << x.distance_to(x) << endl;
|
|
}
|
|
|