detection for chess

This commit is contained in:
shalenikol 2023-12-15 14:01:00 +03:00
parent 9949518be6
commit c963118433
7 changed files with 1188 additions and 0 deletions

View file

@ -0,0 +1,10 @@
cd ~
git clone https://github.com/AlexeyAB/darknet
cd darknet
mkdir build_release
cd build_release
cmake ..
cmake --build . --target install --parallel 8
# по итогу в папке ~/darknet/build_release/
# появится бинарник darknet

View file

@ -0,0 +1,6 @@
knight
king
queen
rook
bishop
pawn

View file

@ -0,0 +1 @@
./darknet detector test yolov4_objs2.data yolov4_objs2.cfg yolov4.weights -dont_show -ext_output test.jpg -out res.json -thresh 0.5

BIN
world/chess/detection/test.jpg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
world/chess/detection/yolov4.weights (Stored with Git LFS) Normal file

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,6 @@
classes = 6
train = i_train.txt
valid = i_val.txt
names = obj.names
backup = backup
eval = coco