Go to file
Alexander Munch-Hansen e97ec3fea9 final 2019-05-18 17:12:35 +02:00
ChessAR Increase amount of sense being made. 2019-04-16 23:29:41 +02:00
classifiers final 2019-05-18 17:12:35 +02:00
hists Hists. 2019-05-12 13:05:53 +02:00
presentations Presentations and project proposal. 2019-05-12 16:21:09 +02:00
projectproposal Presentations and project proposal. 2019-05-12 16:21:09 +02:00
report_images More report 2019-05-12 13:46:38 +02:00
tmp Hm 2019-04-25 01:21:36 +02:00
tmp_seg Segments 2019-04-25 13:54:10 +02:00
training_images lel 2019-04-04 12:59:37 +02:00
whole_boards pls 2019-04-04 22:25:15 +02:00
.gitignore Commit intentionally unsigned for plausible deniability. 2019-04-05 03:31:30 +02:00
2_piece_new_fuck_lel.h5 final 2019-05-18 17:12:35 +02:00
5_piece_new_fuck_lel.h5 final 2019-05-18 17:12:35 +02:00
IMG_2070.jpeg Messy code, loads of shit commented out, it actually computes stuff though 2019-03-26 00:35:03 +01:00
IMG_2086.jpeg Now using FLANN feature matching instead. Still using SIFT feature matcher 2019-03-26 21:58:38 +01:00
LICENSE Add LICENSE 2019-04-04 11:02:09 +00:00
README.md Now we works and we still have type hints so thats nice 2019-04-17 19:58:03 +02:00
adapter.py Web. 2019-04-25 16:00:04 +02:00
chess_model_3_pieces.h5 pls 2019-04-11 09:41:37 +02:00
main.py final 2019-05-18 17:12:35 +02:00
new_baseline_board.png Now using FLANN feature matching instead. Still using SIFT feature matcher 2019-03-26 21:58:38 +01:00
op_chess_model_3_pieces.h5 Perhaps op momodel 2019-04-12 11:44:22 +02:00
opencv_video.py final 2019-05-18 17:12:35 +02:00
pls_bo33.jpg Messy code, loads of shit commented out, it actually computes stuff though 2019-03-26 00:35:03 +01:00
runner.py final 2019-05-18 17:12:35 +02:00
tensor_classifier.py final 2019-05-18 17:12:35 +02:00
test_chess_model.h5 Neural net magicness 2019-04-10 22:32:30 +02:00
util.py final 2019-05-18 17:12:35 +02:00
web.py final 2019-05-18 17:12:35 +02:00

README.md

Test Adapter:

base64 --wrap=0 < whole_boards/boards_for_empty/board_1554285167.655788_rank_5.png | python3 adapter.py

Build OpenCV

mkdir opencv && curl -L https://github.com/opencv/opencv/archive/4.1.0.tar.gz | tar -xzv --directory=opencv_contrib --strip-components=1
mkdir opencv_contrib && curl -L https://github.com/opencv/opencv_contrib/archive/4.1.0.tar.gz | tar -xzv --directory=opencv_contrib --strip-components=1

mkdir -p opencv/build
cd opencv/build

cmake -D CMAKE_BUILD_TYPE=Release -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules/ -D CMAKE_INSTALL_PREFIX=/usr/local -D OPENCV_ENABLE_NONFREE=ON -D BUILD_PERF_TESTS=OFF -D BUILD_TESTS=OFF ..
make -j $(nproc)

sudo make install
sudo ldconfig

python3 -c "import cv2; print(cv2.__version__)"