-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
41 lines (32 loc) · 879 Bytes
/
main.cpp
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
//
// Created by Fermi on 2017/11/18.
//
#include <iostream>
#include "processor.h"
using namespace std;
int main() {
string svm_path("./svm.yml");
processor p(svm_path);
string sudoku_path("./samples/800wi.png");
sudoku s(sudoku_path);
p.tackle(s);
sudoku_path = string("./samples/article.jpg");
s = sudoku(sudoku_path);
p.tackle(s);
sudoku_path = string("./samples/cbhsudoku.jpg");
s = sudoku(sudoku_path);
p.tackle(s);
sudoku_path = string("./samples/Newsprint2.jpg");
s = sudoku(sudoku_path);
p.tackle(s);
sudoku_path = string("./samples/NewsprintSudoku.jpg");
s = sudoku(sudoku_path);
p.tackle(s);
// try {
// sudoku_path = string("./samples/squiggly.jpg");
// s = sudoku(sudoku_path);
// p.tackle(s);
// } catch (const char * s) {
// cout << s << endl;
// }
}