| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Merge branch 4.x | 1 年前 | |
Merge pull request #29755 from aditya2907:feature_enhancements Fix Python utility compatibility issues - #29755 ### Problem Several repository Python utilities emit invalid escape sequence SyntaxWarnings under Python 3.13. The Java test checker also attempts to parse non-Java assets as UTF-8, causing UnicodeDecodeError, and relies on a global parser instance. The Apple build utility accepts malformed CMake version strings because one version separator is an unescaped regex wildcard. ### Changes - Use raw strings for regular expressions and replacement templates. - Skip non-Java files in the Java test checker. - Use the current JavaParser instance instead of global state. - Require literal dots in parsed CMake versions. ### Verification - Compiled every tracked Python file with SyntaxWarning treated as an error. - Ran the Java checker against modules/java/test successfully. - Verified valid CMake versions are accepted and malformed versions rejected. - Ran git diff --check. | 1 个月前 | |
ios: set Xcode C++ language standard for Apple framework build OpenCV requires C++17, and bundled 3rdparty libraries such as KleidiCV explicitly request CXX_STANDARD 17. With the CMake Xcode generator, however, neither the global CMAKE_CXX_STANDARD nor per-target CXX_STANDARD is emitted as CLANG_CXX_LANGUAGE_STANDARD in the generated project, so those sources are compiled at the toolchain default (pre-C++17) and fail, e.g.: kleidicv/include/kleidicv/traits.h: error: no template named 'is_base_of_v' in namespace 'std'; did you mean 'is_base_of'? Set CLANG_CXX_LANGUAGE_STANDARD=gnu++17 at the project level via CMAKE_XCODE_ATTRIBUTE_* in the shared getCMakeArgs(), so every target in the generated Xcode project (including 3rdparty subprojects) builds with C++17. | 3 个月前 | |
Fixed interactive calibration tool deps. | 27 天前 | |
Merge branch 4.x | 7 个月前 | |
Pre-release 5.0.0 versions update. | 3 个月前 | |
Merge pull request #28704 from komakai:replace-jazzy-with-docc Use Xcode DocC tool for buiding Apple platform docs + add quick-start tutorial #28704 ### Pull Request Readiness Checklist - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [x] There is a reference to the original bug report and related work This PR resolves https://github.com/opencv/opencv/issues/28702 and https://github.com/opencv/opencv/issues/28703 Additionally it resolves build issues on Apple platforms by making build scripts run with Python 3 | 4 个月前 | |
Merge branch 4.x | 3 年前 | |
Merge pull request #20392 from fpetrogalli:aarch64-semihosting AArch64 semihosting * [ts] Disable filesystem support in the TS module. Because of this change, all the tests loading data will file, but tat least the core module can be tested with the following line: opencv_test_core --gtest_filter=-"*Core_InputOutput*:*Core_globbing.accuracy*" * [aarch64] Build OpenCV for AArch64 semihosting. This patch provide a toolchain file that allows to build the library for semihosting applications [1]. Minimal changes have been applied to the code to be able to compile with a baremetal toolchain. [1] https://developer.arm.com/documentation/100863/latest The option `CV_SEMIHOSTING` is used to guard the bits in the code that are specific to the target. To build the code: cmake ../opencv/ \ -DCMAKE_TOOLCHAIN_FILE=../opencv/platforms/semihosting/aarch64-semihosting.toolchain.cmake \ -DSEMIHOSTING_TOOLCHAIN_PATH=/path/to/baremetal-toolchain/bin/ \ -DBUILD_EXAMPLES=ON -GNinja A barematel toolchain for targeting aarch64 semihosting can be found at [2], under `aarch64-none-elf`. [2] https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads The folder `samples/semihosting` provides two example semihosting applications. The two binaries can be executed on the host platform with: qemu-aarch64 ./bin/example_semihosting_histogram qemu-aarch64 ./bin/example_semihosting_norm Similarly, the test and perf executables of the modules can be run with: qemu-aarch64 ./bin/opecv_[test|perf]_<module> Notice that filesystem support is disabled by the toolchain file, hence some of the test that depend on filesystem support will fail. * [semihosting] Remove blank like at the end of file. [NFC] The spurious blankline was reported by https://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/31158. * [semihosting] Make the raw pixel file generation OS independent. Use the facilities provided by Cmake to generate the header file instead of a shell script, so that the build doesn't fail on systems that do not have a unix shell. * [semihosting] Rename variable for semihosting compilation. * [semihosting] Move the cmake configuration to a variable file. * [semihosting] Make the guard macro private for the core module. * [semihosting] Remove space. [NFC] * [semihosting] Improve comment with information about semihosting. [NFC] * [semihosting] Update license statement on top of sourvce file. [NFC] * [semihosting] Replace BM_SUFFIX with SEMIHOSTING_SUFFIX. [NFC] * [semihosting] Remove double space. [NFC] * [semihosting] Add some text output to the sample applications. * [semihosting] Remove duplicate entry in cmake configuration. [NFCI] * [semihosting] Replace `long` with `int` in sample apps. [NFCI] * [semihosting] Use `configure_file` to create the random pixels. [NFCI] * [semihosting][bugfix] Fix name of cmakedefine variable. * [semihosting][samples] Use CV_8UC1 for grayscale images. [NFCI] * [semihosting] Add readme file. * [semihosting] Remove blank like at the end of README. [NFC] This fixes the failure at https://pullrequest.opencv.org/buildbot/builders/precommit_docs/builds/31272. | 5 年前 | |
Remove QUIRC library dependency | 1 年前 | |
Drop Python2 support. | 3 年前 | |
Merge pull request #20493 from abhi-bhatra:patch-1 Fix Broken Link * Update README.md Fix broken link * Update Readme.txt * Update readme.txt Add missing link * Update readme.txt Fix names | 5 年前 | |
Merge branch 4.x | 4 年前 |
This folder contains toolchains and additional files that are needed for cross compilation. For more information see introduction tutorials for target platform in documentation: https://docs.opencv.org/5.x/df/d65/tutorial_table_of_content_introduction.html