mirror of
https://gitlab.com/robossembler/assets-library.git
synced 2025-06-10 03:23:32 +03:00
detection for chess
This commit is contained in:
parent
9949518be6
commit
c963118433
7 changed files with 1188 additions and 0 deletions
10
world/chess/detection/darknet_build.sh
Executable file
10
world/chess/detection/darknet_build.sh
Executable 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
|
6
world/chess/detection/obj.names
Normal file
6
world/chess/detection/obj.names
Normal file
|
@ -0,0 +1,6 @@
|
|||
knight
|
||||
king
|
||||
queen
|
||||
rook
|
||||
bishop
|
||||
pawn
|
1
world/chess/detection/run_test.sh
Normal file
1
world/chess/detection/run_test.sh
Normal 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
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
BIN
world/chess/detection/yolov4.weights
(Stored with Git LFS)
Normal file
Binary file not shown.
1159
world/chess/detection/yolov4_objs2.cfg
Normal file
1159
world/chess/detection/yolov4_objs2.cfg
Normal file
File diff suppressed because it is too large
Load diff
6
world/chess/detection/yolov4_objs2.data
Normal file
6
world/chess/detection/yolov4_objs2.data
Normal file
|
@ -0,0 +1,6 @@
|
|||
classes = 6
|
||||
train = i_train.txt
|
||||
valid = i_val.txt
|
||||
names = obj.names
|
||||
backup = backup
|
||||
eval = coco
|
Loading…
Add table
Add a link
Reference in a new issue