Go to file
2019-05-09 21:16:24 +02:00
ChessAR Increase amount of sense being made. 2019-04-16 23:29:41 +02:00
classifiers Neural net magicness 2019-04-24 13:08:52 +02:00
hists Hist squares. 2019-04-25 16:00:43 +02:00
report_images more report images 2019-05-09 21:16:24 +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
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
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
main.py Maybe faster maybe not. 2019-04-24 09:54:37 +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 Now we works and we still have type hints so thats nice 2019-04-17 19:58:03 +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
README.md Now we works and we still have type hints so thats nice 2019-04-17 19:58:03 +02:00
runner.py Now we works and we still have type hints so thats nice 2019-04-17 19:58:03 +02:00
tensor_classifier.py Now we works and we still have type hints so thats nice 2019-04-17 19:58:03 +02:00
test_chess_model.h5 Neural net magicness 2019-04-10 22:32:30 +02:00
util.py Now we works and we still have type hints so thats nice 2019-04-17 19:58:03 +02:00
web.py Web. 2019-04-25 16:00:04 +02:00

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__)"