Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v7

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Install OpenCV
run: |
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Download Compile Commands
uses: actions/download-artifact@v8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Install OpenCV
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
Expand Down
2 changes: 1 addition & 1 deletion tools/createsamples/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ CvBackgroundData* cvbgdata = nullptr;
static int icvStartSampleDistortion(const char* imgfilename, int bgcolor,
int bgthreshold,
CvSampleDistortionData* data) {
memset(data, 0, sizeof(*data));
*data = CvSampleDistortionData{};
data->src = imread(imgfilename, IMREAD_GRAYSCALE);
if (!(data->src.empty()) && data->src.type() == CV_8UC1) {
int r = 0, c = 0;
Expand Down
1 change: 1 addition & 0 deletions traincascade/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ target_compile_options(
test_traincascade
PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:/W4 /WX>
$<$<CXX_COMPILER_ID:MSVC>:/wd5285>
$<$<CXX_COMPILER_ID:MSVC>:/Zc:__cplusplus /Zc:preprocessor /Zc:inline>
$<$<CXX_COMPILER_ID:MSVC>:/w14191 /w14242 /w14254 /w14263 /w14265 /w14266 /w14287>
$<$<CXX_COMPILER_ID:MSVC>:/w14289 /w14296 /w14311 /w14545 /w14546 /w14547 /w14549>
Expand Down
Loading