Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
PooyaEimandar committed Feb 26, 2023
2 parents 0bb38c0 + 4082d73 commit f874ffb
Show file tree
Hide file tree
Showing 49 changed files with 829 additions and 300 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH
- name: Configure CMake
run: cmake -B ${{ env.build }}
run: cmake -DCMAKE_BUILD_TYPE=Debug -B ${{ env.build }}


# Build is not required for MSVC Code Analysis and will be used for Codecov
- name: Build CMake
Expand Down
10 changes: 8 additions & 2 deletions wolf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ option(WOLF_SYSTEM_STACKTRACE "Enable boost stacktrace" OFF)
option(WOLF_SYSTEM_POSTGRESQL "Enable postgresql database client" OFF)

# machine learing modules
option(WOLF_ML_OCR "Enable machine learning referee ocr" OFF)
option(WOLF_ML_OCR "Enable machine learning referee ocr" ON)
option(WOLF_ML_NUDITY_DETECTION "Enable machine learning nudity detection" OFF)

#option(WOLF_ENABLE_LTO "Enable cross language linking time optimization" OFF)
Expand Down Expand Up @@ -305,7 +305,13 @@ if (WOLF_TEST)
add_executable(${TEST_PROJECT_NAME}
tests.cpp
)
target_link_libraries(${TEST_PROJECT_NAME} PRIVATE ${PROJECT_NAME})

if(WOLF_ML_OCR AND LINUX)
target_link_libraries(${TEST_PROJECT_NAME} PRIVATE ${PROJECT_NAME} ${leptonica_BINARY_DIR}/install/lib/libleptonica.so)
else()
target_link_libraries(${TEST_PROJECT_NAME} PRIVATE ${PROJECT_NAME})
endif()

if (NOT WIN32)
target_compile_options(${TEST_PROJECT_NAME} PRIVATE -std=c++2b)
endif()
Expand Down
2 changes: 1 addition & 1 deletion wolf/cmake/ml.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if(WOLF_ML_OCR)
tesseract
)

add_custom_command(OUTPUT tess_config.out COMMAND cmake -B ${tesseract_BINARY_DIR} -DBUILD_TESTS=OFF -DBUILD_TRAINING_TOOLS=OFF -DDISABLE_ARCHIVE=ON -DDISABLE_CURL=ON -DFAST_FLOAT=ON -DGRAPHICS_DISABLED=ON -DINSTALL_CONFIGS=OFF -DLeptonica_DIR=${leptonica_BINARY_DIR} -DCMAKE_INSTALL_PREFIX:PATH=${tesseract_BINARY_DIR}/install ${tesseract_SOURCE_DIR} )
add_custom_command(OUTPUT tess_config.out COMMAND cmake -B ${tesseract_BINARY_DIR} -DBUILD_SHARED_LIBS=1 -DBUILD_TESTS=OFF -DBUILD_TRAINING_TOOLS=OFF -DDISABLE_ARCHIVE=ON -DDISABLE_CURL=ON -DFAST_FLOAT=ON -DGRAPHICS_DISABLED=ON -DINSTALL_CONFIGS=OFF -DLeptonica_DIR=${leptonica_BINARY_DIR} -DCMAKE_INSTALL_PREFIX:PATH=${tesseract_BINARY_DIR}/install ${tesseract_SOURCE_DIR} )
add_custom_target(tess_config ALL DEPENDS tess_config.out)
add_custom_command(OUTPUT tess_build.out COMMAND cmake --build ${tesseract_BINARY_DIR} --target install )
add_custom_target(tess_build ALL DEPENDS tess_build.out)
Expand Down
1 change: 0 additions & 1 deletion wolf/ml/referee_ocr/w_utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ auto store_image_in_folder(
for (size_t i = 0; i < pVideoResult.size(); i++) {
fs::path out_path = pOutputImageFolderPath + "/" + video_name + "_" +
std::to_string(i) + ".png";
std::cout << out_path.string() << std::endl;
cv::imwrite(out_path.string().c_str(), pVideoResult[i].result_image);
cv::waitKey(300);
pVideoResult[i].release();
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 109 additions & 0 deletions wolf/ml/test/common_test_asset/soccer/.fill_stat_map
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@

CONFIG_SIMILARITY_ALGORITHM=NormalizedLevenshtein
CONFIG_USE_SIMILARITY=True
SIMILAR_STRINGS_FILE_PATH=asset/team_names.txt
SIMILARITY_THRESHOLD=0.5
SOCCER_GLOBAL_HEIGHT_TO_DIST_RATIO=0.4
SOCCER_GLOBAL_PLATFORM_FREE=TRUE
SOCCER_NAME_AWAY_DO_RESIZE_CONTOUR=FALSE
SOCCER_NAME_AWAY_GAUSSIAN_BLUR_WIN_SIZE=5
SOCCER_NAME_AWAY_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_NAME_AWAY_IS_DIGIT=FALSE
SOCCER_NAME_AWAY_IS_TIME=FALSE
SOCCER_NAME_AWAY_IS_WHITE=TRUE
SOCCER_NAME_AWAY_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_NAME_AWAY_MARGIN=5
SOCCER_NAME_AWAY_RESTRICTIONS_MAX_AREA=1000
SOCCER_NAME_AWAY_RESTRICTIONS_MAX_HEIGHT=100
SOCCER_NAME_AWAY_RESTRICTIONS_MAX_WIDTH=100
SOCCER_NAME_AWAY_RESTRICTIONS_MIN_AREA=1
SOCCER_NAME_AWAY_RESTRICTIONS_MIN_HEIGHT=20
SOCCER_NAME_AWAY_RESTRICTIONS_MIN_WIDTH=1
SOCCER_NAME_AWAY_THRESHOLD=150
SOCCER_NAME_AWAY_VERBOSE=FALSE
SOCCER_NAME_AWAY_WHITE_BACKGROUND_THRESHOLD=30
SOCCER_NAME_AWAY_WINDOW_NAME=name_away
SOCCER_NAME_AWAY_WINDOW=740,103,337,42
SOCCER_NAME_HOME_DO_RESIZE_CONTOUR=TRUE
SOCCER_NAME_HOME_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_NAME_HOME_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_NAME_HOME_IS_DIGIT=FALSE
SOCCER_NAME_HOME_IS_TIME=FALSE
SOCCER_NAME_HOME_IS_WHITE=TRUE
SOCCER_NAME_HOME_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_NAME_HOME_MARGIN=5
SOCCER_NAME_HOME_RESTRICTIONS_MAX_AREA=500
SOCCER_NAME_HOME_RESTRICTIONS_MAX_HEIGHT=40
SOCCER_NAME_HOME_RESTRICTIONS_MAX_WIDTH=30
SOCCER_NAME_HOME_RESTRICTIONS_MIN_AREA=1
SOCCER_NAME_HOME_RESTRICTIONS_MIN_HEIGHT=20
SOCCER_NAME_HOME_RESTRICTIONS_MIN_WIDTH=1
SOCCER_NAME_HOME_THRESHOLD=150
SOCCER_NAME_HOME_VERBOSE=False
SOCCER_NAME_HOME_WHITE_BACKGROUND_THRESHOLD=40
SOCCER_NAME_HOME_WINDOW_NAME=name_home
SOCCER_NAME_HOME_WINDOW=200,103,337,42
SOCCER_RESULT_AWAY_DO_RESIZE_CONTOUR=FALSE
SOCCER_RESULT_AWAY_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_RESULT_AWAY_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_RESULT_AWAY_IS_DIGIT=TRUE
SOCCER_RESULT_AWAY_IS_TIME=TRUE
SOCCER_RESULT_AWAY_IS_WHITE=TRUE
SOCCER_RESULT_AWAY_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_RESULT_AWAY_MARGIN=6
SOCCER_RESULT_AWAY_RESTRICTIONS_MAX_AREA=10000
SOCCER_RESULT_AWAY_RESTRICTIONS_MAX_HEIGHT=45
SOCCER_RESULT_AWAY_RESTRICTIONS_MAX_WIDTH=32
SOCCER_RESULT_AWAY_RESTRICTIONS_MIN_AREA=20
SOCCER_RESULT_AWAY_RESTRICTIONS_MIN_HEIGHT=20
SOCCER_RESULT_AWAY_RESTRICTIONS_MIN_WIDTH=4
SOCCER_RESULT_AWAY_THRESHOLD=110
SOCCER_RESULT_AWAY_VERBOSE=FALSE
SOCCER_RESULT_AWAY_WHITE_BACKGROUND_THRESHOLD=150
SOCCER_RESULT_AWAY_WINDOW_NAME=result_away
SOCCER_RESULT_AWAY_WINDOW=685,99,32,47
SOCCER_RESULT_HOME_DO_RESIZE_CONTOUR=FALSE
SOCCER_RESULT_HOME_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_RESULT_HOME_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_RESULT_HOME_IS_DIGIT=TRUE
SOCCER_RESULT_HOME_IS_TIME=TRUE
SOCCER_RESULT_HOME_IS_WHITE=TRUE
SOCCER_RESULT_HOME_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_RESULT_HOME_MARGIN=6
SOCCER_RESULT_HOME_RESTRICTIONS_MAX_AREA=1500
SOCCER_RESULT_HOME_RESTRICTIONS_MAX_HEIGHT=45
SOCCER_RESULT_HOME_RESTRICTIONS_MAX_WIDTH=32
SOCCER_RESULT_HOME_RESTRICTIONS_MIN_AREA=20
SOCCER_RESULT_HOME_RESTRICTIONS_MIN_HEIGHT=20
SOCCER_RESULT_HOME_RESTRICTIONS_MIN_WIDTH=4
SOCCER_RESULT_HOME_THRESHOLD=110
SOCCER_RESULT_HOME_VERBOSE=FALSE
SOCCER_RESULT_HOME_WHITE_BACKGROUND_THRESHOLD=150
SOCCER_RESULT_HOME_WINDOW_NAME=game_result_home
SOCCER_RESULT_HOME_WINDOW=564,99,32,47
SOCCER_SCREEN_IDENTITY_DO_RESIZE_CONTOUR=TRUE
SOCCER_SCREEN_IDENTITY_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_SCREEN_IDENTITY_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_SCREEN_IDENTITY_IS_DIGIT=TRUE
SOCCER_SCREEN_IDENTITY_IS_TIME=FALSE
SOCCER_SCREEN_IDENTITY_IS_WHITE=TRUE
SOCCER_SCREEN_IDENTITY_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_SCREEN_IDENTITY_MARGIN=5
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_AREA=105
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_HEIGHT=16
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_WIDTH=14
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_AREA=2
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_HEIGHT=8
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_WIDTH=2
SOCCER_SCREEN_IDENTITY_THRESHOLD=150
SOCCER_SCREEN_IDENTITY_VERBOSE=FALSE
SOCCER_SCREEN_IDENTITY_WHITE_BACKGROUND_THRESHOLD=30
SOCCER_SCREEN_IDENTITY_WINDOW_NAME=screen_identity
SOCCER_SCREEN_IDENTITY_WINDOW=614,80,17,26
SOCCER_STAT_EXTRA_FIRST_HALF_STRING=105 00
SOCCER_STAT_EXTRA_SECOND_HALF_STRING=120 00
SOCCER_STAT_FIRST_HALF_STRING=45 00
SOCCER_STAT_PENALTY_STRING=penalty
SOCCER_STAT_SECOND_HALF_STRING=90 00
TELEMETRY_USE=OFF
TESSERACT_LOG=tesseract.log
100 changes: 100 additions & 0 deletions wolf/ml/test/common_test_asset/soccer/.initial_match_result_struct
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
CONFIG_SIMILARITY_ALGORITHM=NormalizedLevenshtein
CONFIG_USE_SIMILARITY=True
SIMILARITY_THRESHOLD=0.5
SOCCER_NAME_AWAY_DO_RESIZE_CONTOUR=FALSE
SOCCER_NAME_AWAY_GAUSSIAN_BLUR_WIN_SIZE=5
SOCCER_NAME_AWAY_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_NAME_AWAY_IS_DIGIT=FALSE
SOCCER_NAME_AWAY_IS_TIME=FALSE
SOCCER_NAME_AWAY_IS_WHITE=TRUE
SOCCER_NAME_AWAY_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_NAME_AWAY_MARGIN=5
SOCCER_NAME_AWAY_RESTRICTIONS_MAX_AREA=1000
SOCCER_NAME_AWAY_RESTRICTIONS_MAX_HEIGHT=100
SOCCER_NAME_AWAY_RESTRICTIONS_MAX_WIDTH=100
SOCCER_NAME_AWAY_RESTRICTIONS_MIN_AREA=1
SOCCER_NAME_AWAY_RESTRICTIONS_MIN_HEIGHT=20
SOCCER_NAME_AWAY_RESTRICTIONS_MIN_WIDTH=1
SOCCER_NAME_AWAY_THRESHOLD=150
SOCCER_NAME_AWAY_VERBOSE=FALSE
SOCCER_NAME_AWAY_WHITE_BACKGROUND_THRESHOLD=30
SOCCER_NAME_AWAY_WINDOW_NAME=name_away
SOCCER_NAME_AWAY_WINDOW=740,103,337,42
SOCCER_NAME_HOME_DO_RESIZE_CONTOUR=TRUE
SOCCER_NAME_HOME_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_NAME_HOME_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_NAME_HOME_IS_DIGIT=FALSE
SOCCER_NAME_HOME_IS_TIME=FALSE
SOCCER_NAME_HOME_IS_WHITE=TRUE
SOCCER_NAME_HOME_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_NAME_HOME_MARGIN=5
SOCCER_NAME_HOME_RESTRICTIONS_MAX_AREA=500
SOCCER_NAME_HOME_RESTRICTIONS_MAX_HEIGHT=40
SOCCER_NAME_HOME_RESTRICTIONS_MAX_WIDTH=30
SOCCER_NAME_HOME_RESTRICTIONS_MIN_AREA=1
SOCCER_NAME_HOME_RESTRICTIONS_MIN_HEIGHT=20
SOCCER_NAME_HOME_RESTRICTIONS_MIN_WIDTH=1
SOCCER_NAME_HOME_THRESHOLD=150
SOCCER_NAME_HOME_VERBOSE=False
SOCCER_NAME_HOME_WHITE_BACKGROUND_THRESHOLD=40
SOCCER_NAME_HOME_WINDOW_NAME=name_home
SOCCER_NAME_HOME_WINDOW=200,103,337,42
SOCCER_RESULT_AWAY_DO_RESIZE_CONTOUR=FALSE
SOCCER_RESULT_AWAY_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_RESULT_AWAY_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_RESULT_AWAY_IS_DIGIT=TRUE
SOCCER_RESULT_AWAY_IS_TIME=TRUE
SOCCER_RESULT_AWAY_IS_WHITE=TRUE
SOCCER_RESULT_AWAY_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_RESULT_AWAY_MARGIN=6
SOCCER_RESULT_AWAY_RESTRICTIONS_MAX_AREA=10000
SOCCER_RESULT_AWAY_RESTRICTIONS_MAX_HEIGHT=45
SOCCER_RESULT_AWAY_RESTRICTIONS_MAX_WIDTH=32
SOCCER_RESULT_AWAY_RESTRICTIONS_MIN_AREA=20
SOCCER_RESULT_AWAY_RESTRICTIONS_MIN_HEIGHT=20
SOCCER_RESULT_AWAY_RESTRICTIONS_MIN_WIDTH=4
SOCCER_RESULT_AWAY_THRESHOLD=110
SOCCER_RESULT_AWAY_VERBOSE=FALSE
SOCCER_RESULT_AWAY_WHITE_BACKGROUND_THRESHOLD=150
SOCCER_RESULT_AWAY_WINDOW_NAME=result_away
SOCCER_RESULT_AWAY_WINDOW=685,99,32,47
SOCCER_RESULT_HOME_DO_RESIZE_CONTOUR=FALSE
SOCCER_RESULT_HOME_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_RESULT_HOME_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_RESULT_HOME_IS_DIGIT=TRUE
SOCCER_RESULT_HOME_IS_TIME=TRUE
SOCCER_RESULT_HOME_IS_WHITE=TRUE
SOCCER_RESULT_HOME_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_RESULT_HOME_MARGIN=6
SOCCER_RESULT_HOME_RESTRICTIONS_MAX_AREA=1500
SOCCER_RESULT_HOME_RESTRICTIONS_MAX_HEIGHT=45
SOCCER_RESULT_HOME_RESTRICTIONS_MAX_WIDTH=32
SOCCER_RESULT_HOME_RESTRICTIONS_MIN_AREA=20
SOCCER_RESULT_HOME_RESTRICTIONS_MIN_HEIGHT=20
SOCCER_RESULT_HOME_RESTRICTIONS_MIN_WIDTH=4
SOCCER_RESULT_HOME_THRESHOLD=110
SOCCER_RESULT_HOME_VERBOSE=FALSE
SOCCER_RESULT_HOME_WHITE_BACKGROUND_THRESHOLD=150
SOCCER_RESULT_HOME_WINDOW_NAME=game_result_home
SOCCER_RESULT_HOME_WINDOW=564,99,32,47
SOCCER_SCREEN_IDENTITY_DO_RESIZE_CONTOUR=TRUE
SOCCER_SCREEN_IDENTITY_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_SCREEN_IDENTITY_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_SCREEN_IDENTITY_IS_DIGIT=TRUE
SOCCER_SCREEN_IDENTITY_IS_TIME=FALSE
SOCCER_SCREEN_IDENTITY_IS_WHITE=TRUE
SOCCER_SCREEN_IDENTITY_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_SCREEN_IDENTITY_MARGIN=5
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_AREA=105
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_HEIGHT=16
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_WIDTH=14
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_AREA=2
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_HEIGHT=8
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_WIDTH=2
SOCCER_SCREEN_IDENTITY_THRESHOLD=150
SOCCER_SCREEN_IDENTITY_VERBOSE=FALSE
SOCCER_SCREEN_IDENTITY_WHITE_BACKGROUND_THRESHOLD=30
SOCCER_SCREEN_IDENTITY_WINDOW_NAME=screen_identity
SOCCER_SCREEN_IDENTITY_WINDOW=614,80,17,26
TELEMETRY_USE=OFF
TESSERACT_LOG=tesseract.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SIMILAR_STRINGS_FILE_PATH=../wolf/ml/test/common_test_asset/soccer/replace_team_names_with_most_similar_string.txt
SIMILARITY_THRESHOLD=0.5
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SIMILAR_STRINGS_FILE_PATH=../wolf/ml/test/common_test_asset/soccer/replace_team_names_with_most_similar_string.txt
SIMILARITY_THRESHOLD=0.9
20 changes: 20 additions & 0 deletions wolf/ml/test/common_test_asset/soccer/.set_config
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
SOCCER_SCREEN_IDENTITY=COMMENT
SOCCER_SCREEN_IDENTITY_WINDOW_NAME=window_name_test
SOCCER_SCREEN_IDENTITY_IS_TIME=FALSE
SOCCER_SCREEN_IDENTITY_WINDOW=614,80,17,26
SOCCER_SCREEN_IDENTITY_DO_RESIZE_CONTOUR=TRUE
SOCCER_SCREEN_IDENTITY_GAUSSIAN_BLUR_WIN_SIZE=3
SOCCER_SCREEN_IDENTITY_IF_STORE_IMAGE_BOXES=FALSE
SOCCER_SCREEN_IDENTITY_IS_WHITE=TRUE
SOCCER_SCREEN_IDENTITY_IS_DIGIT=TRUE
SOCCER_SCREEN_IDENTITY_MAKE_WHITE_BACKGROUND=FALSE
SOCCER_SCREEN_IDENTITY_MARGIN=5
SOCCER_SCREEN_IDENTITY_THRESHOLD=150
SOCCER_SCREEN_IDENTITY_VERBOSE=FALSE
SOCCER_SCREEN_IDENTITY_WHITE_BACKGROUND_THRESHOLD=30
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_AREA=105
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_AREA=2
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_WIDTH=14
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_WIDTH=2
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MAX_HEIGHT=16
SOCCER_SCREEN_IDENTITY_RESTRICTIONS_MIN_HEIGHT=8
Loading

0 comments on commit f874ffb

Please sign in to comment.