| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Unblock system-wide installation of Aravis SDK. | 10 个月前 | |
fix typos | 1 年前 | |
videoio: implement camera enumeration for ARAVIS backend Extends cv::videoio_registry::enumerateDevices() (#29843) to GigE and USB3 Vision cameras handled by Aravis. The backend already resolves a capture index to an entry of the Aravis device list, so the same list is reported, which keeps VideoDeviceInfo::cam_idx valid for cv::VideoCapture(idx, CAP_ARAVIS). Device name is composed of vendor, model and the Aravis device ID, so cameras of the same model remain distinguishable; all three strings are optional and the registry falls back to "cam: <index>" if none of them is available. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> | 18 天前 | |
Merge pull request #21337 from mansourmoufid:videocapture-get-property-return Make cv::VideoCapture::get return cv::CAP_PROP_UNKNOWN (-1) for unsupported properties #21337 The return value indicating an unsupported property is not consistent across backends. I stumbled on this issue because my code was determining if a property value is valid if it's non-zero (like the documentation says), which worked fine on macOS, but not on Android. For example, auto-exposure is not supported on macOS, so get() returns 0. But it is supported on Android and 0 means auto-exposure is off. I think -1 is the better return value to indicate unsupported properties. I made changes to all the backends. I think I got every case. This breaks API compatibility for some backends, so I based this on branch 3.4. - [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 other license that is incompatible with OpenCV - [x] The PR is proposed to proper branch - [ ] There is reference to original bug report and related work - [ ] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [ ] The feature is well documented and sample code can be built with the project CMake | 4 个月前 | |
Merge pull request #15100 from Volskig:cam_multiplexing_function_v Implement Camera Multiplexing API * IdideoCapture + two wrong function function waitAny Add errors catcher Stub for Python added. Sifting warnings One test added Two tests for camera and Perf tests added * Perf sync and async tests for waitAny() added, waitAnyInterior() deleted, getDeviceHandle() deleted * Variable OPENCV_TEST_CAMERA_LIST added * Without fps set * ASSERT_FAILED for environment variable * Perf tests is DISABLED_ * --Trailing whitespace * Return false from cap.cpp deleted * Two functions deleted from interface, +range for, +environment variable in test_camera * Space deleted * printf deleted, perror added * CV_WRAP deleted, cv2 cleared from stubs * -- space * default timeout added * @param changed * place of waitAny changed * --whitespace * ++function description * function description changed * revert unused changes * videoio: rework API for VideoCapture::waitAny() | 6 年前 | |
Port FFMpeg 8.0 support from 29533 | 5 天前 | |
Port of videoio(ffmpeg): fix black frames for interlaced video 30300 to 5.x | 9 天前 | |
Merge pull request #26025 from mshabunin:cpp-videoio-highgui :exclamation: Potential conflicts with #25958 C-API cleanup: highgui, videoio #26025 :exclamation: Merge with: opencv/opencv_contrib#3780 This PR removes usage of C-API from highgui and videoio modules. Only source code is affected, tests were not using obsolete API. It should be possible to backport these changes to 4.x branch preserving removed public headers and source files (`*_c.h` and `*_c.cpp`). #### Checklist I tried to verify as many backends as possible, though these checks were not as thorough as I'd like them to be. Below is the checklist covering all modified backends with their statuses. > :small_blue_diamond: - small changes > :green_circle: - consider working > :white_circle: - considered untested ##### highgui Pass | Backend | Local check | CI check -----|---------|-------------|--------- :green_circle: | GTK2 | build + test, plugin build | build + test :grey_question: :green_circle: | GTK3 | build + test, plugin build | build + test :green_circle: | QT | build + test, plugin build | :white_circle: | Wayland :small_blue_diamond: | | :green_circle: | WIN32 :small_blue_diamond: | | build + test :green_circle: | Cocoa :small_blue_diamond: | | build + test :white_circle: | WinRT | | ##### videoio Pass | Backend | Local check | CI check -----|---------|-------------|--------- :green_circle: | Android Camera/MediaNDK :small_blue_diamond: | | build :green_circle: | Aravis | build | :green_circle: | AVFoundation OSX | | build + test :white_circle: | AVFoundation iOS | | build :green_circle: | DC1394 | build | :green_circle: | DShow :small_blue_diamond: | | build :green_circle: | FFMpeg | build, plugin build | build + test :green_circle: | GPhoto :small_blue_diamond: | build | :green_circle: | GStreamer | build, plugin build | build + test :green_circle: | Images | build | build + test :green_circle: | MSMF :small_blue_diamond: | | build + test :green_circle: | OpenNI | build | :green_circle: | PVAPI | build | :green_circle: | V4L | build + test | build :green_circle: | XIMEA | build | :green_circle: | XINE :small_blue_diamond: | build | #### Notes - local linux build checks performed using [this framework](https://github.com/mshabunin/opencv-videoio-build-check) - minor extra changes made in both `cap_avfoundation*.mm` to make them slightly more synchronized - it would be better to combine them into a single one in the future - configurations with plugins have been build but not tested - **moved unrelated changes to separate PRs** ~two issues have been fixed in separate commits:~ - ~imgproc: missing `cv::hal::` color conversion functions has been used in MediaSDK backend~ - ~videoio/V4L: wrong color conversion mode caused bad colors for NV12 camera input format (RGB instead of BGR)~ It would be nice to check following functionality manually: - [ ] OSX: camera input - [ ] iOS: camera and file input - [ ] WinRT: build, some testing - [x] Linux/Wayland: build | 2 年前 |