1. 25 6月, 2022 1 次提交
    • S
      Merge pull request #22149 from seanm:sprintf · 35f1a90d
      Sean McBride 提交于
      Replaced sprintf with safer snprintf
      
      * Straightforward replacement of sprintf with safer snprintf
      
      * Trickier replacement of sprintf with safer snprintf
      
      Some functions were changed to take another parameter: the size of the buffer, so that they can pass that size on to snprintf.
      35f1a90d
  2. 22 6月, 2022 2 次提交
    • W
      Merge pull request #22100 from WanliZhong:issue_22015 · a6ca48a1
      Wanli 提交于
      Fix issue 22015, let Clip layer support 1-3 inputs
      
      * Fix issue 22015.
      Let layer Clip support 1-3 inputs.
      
      * Resolve other problems caused by modifications
      
      * Update onnx_importer.cpp
      
      added extra checks to min/max handling in Clip
      
      * Add assertions to check the size of the input
      
      * Add test for clip with min and max initializers
      
      * Separate test for "clip_init_min_max". Change the check method for input_size to provide a clearer message in case of problem.
      
      * Add tests for clip with min or max initializers
      
      * Change the implementation of getting input
      Co-authored-by: NVadim Pisarevsky <vadim.pisarevsky@gmail.com>
      a6ca48a1
    • Z
      bug fixed of GEMM node in ONNX_importer · 2411b825
      Zihao Mu 提交于
      2411b825
  3. 13 6月, 2022 2 次提交
  4. 05 6月, 2022 3 次提交
  5. 04 6月, 2022 1 次提交
  6. 02 6月, 2022 1 次提交
  7. 01 6月, 2022 1 次提交
  8. 31 5月, 2022 2 次提交
  9. 26 5月, 2022 2 次提交
  10. 25 5月, 2022 2 次提交
  11. 24 5月, 2022 4 次提交
  12. 23 5月, 2022 4 次提交
    • R
      Merge pull request #21818 from rogday:revert_renaming · 93dc0679
      rogday 提交于
      * add prefixes to layer names and layer output names
      
      * dnn: OPENCV_DNN_ONNX_USE_LEGACY_NAMES runtime parameter
      Co-authored-by: NAlexander Alekhin <alexander.a.alekhin@gmail.com>
      93dc0679
    • K
      Update fisheye::distortPoints() documentation · 1ddc51cf
      Kataev Victor 提交于
      1ddc51cf
    • K
      Fix cameracalibration test · 50bf0e10
      Kataev Victor 提交于
      * Remove transpose for rvec after calibration
      * Change compare threshold from 110% to 10% for perViewErrors
      * Add transpose to goodRotMatrs load
      50bf0e10
    • M
      Consider video meta on GStreamer video capture · 6a22c5b2
      Michael Gruner 提交于
      Some GStreamer elements may produce buffers with very non
      standard strides, offsets and/or even transport each plane
      in different, non-contiguous pointers. This non-standard
      layout is communicated via GstVideoMeta structures attached
      to the buffers. Given this, when a GstVideoMeta is available,
      one should parse the layout from it instead of generating
      a generic one from the caps.
      
      The GstVideoFrame utility does precisely this: if the buffer
      contains a video meta, it uses that to fill the format and
      memory layout. If there is no meta available, the layout is
      inferred from the caps.
      6a22c5b2
  13. 19 5月, 2022 1 次提交
    • M
      Merge pull request #21992 from tumicdq:v4l2 · df2e7fa6
      Martin Tůma 提交于
      * Added support for 4B RGB V4L2 pixel formats
      
      Added support for V4L2_PIX_FMT_XBGR32 and V4L2_PIX_FMT_ABGR32 pixel
      formats.
      
      * Added workaround for missing V4L2_PIX_FMT_ABGR32 and V4L2_PIX_FMT_XBGR32
      defines
      df2e7fa6
  14. 16 5月, 2022 3 次提交
  15. 15 5月, 2022 2 次提交
  16. 14 5月, 2022 2 次提交
    • M
      Merge pull request #21702 from mlourakis:4.x · 8d0fbc6a
      Manolis Lourakis 提交于
      Fixes and optimizations for the SQPnP solver
      
      * Fixes and optimizations
      
      - optimized the calculation of qa_sum by moving equal elements outside the loop
      - unrolled copying of the lower triangle of omega
      - substituted SVD with eigendecomposition in the factorization of omega (2-3 times faster)
      - fixed the initialization of lambda in FOAM
      - added a cheirality test that checks a solution on all 3D points rather than on their mean. The old test rejected valid poses in some cases
      - fixed some typos & errors in comments
      
      * reverted to SVD
      
      Eigen decomposition seems to yield larger errors in certain tests, reverted to SVD
      
      * nearestRotationMatrixSVD
      
      Added nearestRotationMatrixSVD()
      Previous nearestRotationMatrix() renamed to nearestRotationMatrixFOAM() and reverts to nearestRotationMatrixSVD() for singular matrices
      
      * fixed checks order
      
      Fixed the order of checks in PoseSolver::solveInternal()
      8d0fbc6a
    • K
      Merge pull request #21937 from Kumataro:4.x-fix-21911 · 602caa9c
      Kumataro 提交于
      * Fix warnings for clang15
      
      * Fix warnings: Remove unnecessary code
      
      * Fix warnings: Remove unnecessary code
      602caa9c
  17. 13 5月, 2022 1 次提交
  18. 12 5月, 2022 4 次提交
    • V
      Merge pull request #21931 from victor1234:calib3d-add-undistortImagePoints · 2b67bc44
      Victor 提交于
      Add undistortImagePoints function
      
      * Add undistortImagePoints function
      undistortPoints has unclear interface and additional functionality. New function computes only undistorted image points position
      
      * Add undistortImagePoints test
      
      * Add TermCriteria
      
      * Fix layout
      2b67bc44
    • C
      Fix KalmanFilter comment error · 8d0dae4c
      Chen Jun 提交于
      If there will be measurement before the next predict, `statePost` would be assigned to updated value. So I guess these steps are meant to handle when no measurement and KF only do the predict step.
      ```cpp
      statePre.copyTo(statePost);
      errorCovPre.copyTo(errorCovPost);
      ```
      8d0dae4c
    • S
      Merge pull request #21883 from SergeyIvanov87:gapi_vpl_linux · eff5605b
      Sergey 提交于
      G-API: VPL Source turn on Linux CPU version
      
      * Turn on linux compilation
      
      * Apply comments
      
      * Change new files headline
      
      * Add license header
      eff5605b
    • J
      Fix global variable assignment in JS test suite · 64602558
      Joona Heikkilä 提交于
      In test_imgproc.js, the test_filter suite's last test assigns a variable
      to `size` without declaring it with `let`, polluting the global scope.
      This commit adds `let` to the statement, so that the variable is scoped
      to the test block.
      64602558
  19. 11 5月, 2022 2 次提交