Commit Graph

9 Commits

Author SHA256 Message Date
Stefan Brüns
70a5e1ec8b Accepting request 973972 from home:StefanBruens:branches:science
- Add upstream patches for FFmpeg 5.0 support, add
  * videoio_initial_FFmpeg_5_0_support.patch
  * videoio_ffmpeg_avoid_memory_leaks.patch
- Restore memoryperjob constraint, avoid being scheduled on a 16
  core system and use less than half of it.
- Adjust %limit_build to 1800, to avoid recurrent build failures
  on aarch64. (People should not care for their pet architecture
  only, but also carefully check if they break others.)
- Add missing libopencv_aruco dependency in devel package.

OBS-URL: https://build.opensuse.org/request/show/973972
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=32
2022-05-03 17:42:13 +00:00
Lars Vogdt
216a513cba Accepting request 945783 from home:alarrosa:branches:science
- Remove the memoryperjob constraint which doesn't work as one
  would expect and breaks ppc64 builds.
- Use %limit_memory -m 1700 to set the number of concurrent
  jobs to a sane value and fix OOM errors when building in
  workers with many cores.
- Decrease the disk constraint to 9G which seems to be enough

OBS-URL: https://build.opensuse.org/request/show/945783
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=29
2022-03-31 21:51:33 +00:00
Stefan Brüns
52a1d28937 Accepting request 942495 from home:StefanBruens:branches:science
- update to 4.5.5, highlights below, for details check
  https://github.com/opencv/opencv/wiki/ChangeLog#version455
  * Audio support as part of VideoCapture API: GStreamer #21264
  * Updated SOVERSION handling rules: #21178
  * DNN module patches:
    + Added tests to cover ONNX conformance test suite: #21088
    + Improved layers / activations / supported more models
    + Upgraded builtin protobuf from 3.5.2 to 3.19.1
    + More optimizations for RISC-V platform
    + Intel® Inference Engine backend ( OpenVINO™ ):
            added support for OpenVINO 2021.4.2 LTS release
  * G-API module:
    + G-API framework:
      - Fixed issue with accessing 1D data from cv::RMat: #21103
      - Restricted passing the G-API types to graph inputs/outputs
        for execution: #21041
      - Various fixes in G-API Doxygen reference: #20924
      - Renamed various internal structures for consistency #20836 #21040
    + Fluid backend:
      - Introduced a better vectorized version of Resize: #20664.
      - Added vectorized version of Multiply kernel: #21024
      - Added vectorized version of Divide kernel: #20914
      - Added vectorized version of AddC kernel: #21119
      - Added vectorized version of SubC kernel: #21158
      - Added vectorized version of MulC kernel: #21177
      - Added vectorized version of SubRC kernel: #21231
      - Enabled SIMD dispatching for AbsDiffC: #21204
    + OpenCL backend:
      - Fixed sporadic test failures in Multiply kernel running
        on GPU: #21205
    + Intel® OpenVINO™ inference backend:
      - Extended ie::Params to support static batch size as input
        to inference: #20856
      - Enabled 2D input tensor support in IE backend: #20925
      - Fixed various issues with imported (pre-compiled)
        networks: #20918
    + Media integration:
      - Introduced a GStreamer-based pipeline source for
        G-API: #20709
      - Completed the integration of Intel® oneVPL as a pipeline
        source for G-API #20773 with device selection #20738,
	asynchronous execution #20901, intial demux support #21022,
	and GPU-side memory allocation via DirectX 11 #21049.
    + Samples:
      - Replaced custom kernels with now-standard G-API operations
        in several samples #21106
      - Moved API snippets from G-API samples to a dedicated
        place #20857
    + Other changes and fixes:
      - Fixed various static analysis issues for OpenVINO 2021.4
        release: #21083 and #21212
      - Fixed various build warnings introduced after OpenVINO
        update: #20937
      - Continued clean-up in the G-API test suite on GTest macros
        #20922 and test data #20995
      - Added custom accuracy comparison functions to Fluid
        performance tests: #21150.
  * And many other contributions:
    + Added QRcode encoder: #17889
    + GSoC - OpenCV.js: Accelerate OpenCV.js DNN via WebNN: #20406
    + Add conventional Bayer naming: #20970
    + (opencv_contrib) Add Radon transform function to ximgproc: #3090
    + (opencv_contrib) New superpixel algorithm (F-DBSCAN): #3093
    + Created Stitching Tool: #21020
    + Improve CCL with new algorithms and tests: #21275
    + (opencv_contrib) Update ArUco tutorial: #3126
- Adjust memory constraints (mostly required for aarch64 on Leap)
- Add 0001-highgui-Fix-unresolved-OpenGL-functions-for-Qt-backe.patch

OBS-URL: https://build.opensuse.org/request/show/942495
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=28
2021-12-26 01:29:53 +00:00
Stefan Brüns
4a5ef229fa Accepting request 889708 from home:StefanBruens:branches:science
- update to 4.5.2, highlights below, for details check
  https://github.com/opencv/opencv/wiki/ChangeLog#version452
  * core: added support for parallel backends.
  * imgproc: added IntelligentScissors implementation (JS demo).
  * videoio: improved hardware-accelerated video de-/encoding tasks.
  * DNN module:
    + Improved debugging of TensorFlow parsing errors: #19220
    + Improved layers / activations / supported more models:
      - optimized: NMS processing, DetectionOutput
      - fixed: Div with constant, MatMul, Reshape
        (TensorFlow behaviour)
      - added support: Mish ONNX subgraph, NormalizeL2 (ONNX),
        LeakyReLU (TensorFlow), TanH + SAM (Darknet), Exp
    + Intel® Inference Engine backend ( OpenVINO™ ):
      added support for OpenVINO 2021.3 release
  * G-API module:
    + Python support:
      - Introduced a new Python backend - now G-API can run custom
        kernels written in Python as part of the pipeline: #19351
      - Extended Inference support in the G-API bindings: #19318
      - Added more graph data types in the G-API bindings: #19319
    + Inference support:
      - Introduced dynamic input / CNN reshape functionality in the
        OpenVINO inference backend #18240
      - Introduced asynchronous execution support in the OpenVINO
        inference backend, now it can run in multiple parallel
	requests to increase stream density/throughput: #19487, #19425
      - Extended supported data types with INT64/INT32 in ONNX
        inference backend and with INT32 in the OpenVINO inference
	backend #19792
      - Introduced cv::GFrame / cv::MediaFrame and constant support
        in the ONNX backend: #19070
    + Media support:
      - Introduced cv::GFrame / cv::MediaFrame support in the
        drawing/rendering interface: #19516
      - Introduced multi-stream input support in Streaming mode
        and frame synchronization policies to support cases like
	Stereo: #19731
      - Added Y and UV operations to access NV12 data of cv::GFrame
        at the graph level; conversions are done on-the-fly if the
	media format is different: #19325
    + Operations and kernels:
      - Added performance tests for new operations (MorphologyEx,
        BoundingRect, FitLine, FindContours, KMeans, Kalman,
	BackgroundSubtractor)
      - Fixed RMat input support in the PlaidML backend: #19782
      - Added ARM NEON optimizations for Fluid AbsDiffC, AddWeighted,
        and bitwise operations: #18466, #19233
      - Other various static analysis and warning fixes
    + Documentation:
      - [GSoC] Added TF/PyTorch classification conversion: #17604
      - [GSoC] Added TF/PyTorch segmentation conversion: #17801
      - [GSoC] Added TF/PyTorch detection model conversion: #18237
      - Updated documentation to address Wide Universal Intrinsics
	(WUI) SIMD API: #18952
    + And many other great contributions from OpenCV community:
      - core: cuda::Stream constructor with stream flags: #19286
      - highgui: pollKey() implementation for w32 backend: #19411
      - imgcodecs: Added Exif parsing for PNG: #19439
      - imgcodecs: OpenEXR compression options: #19540
      - imgproc: connectedComponents optimizations: (Spaghetti
        Labeling): #19631
      - videoio: Android NDK camera support #19597
      - (contrib) WeChat QRCode module open source: #2821
      - (contrib) Implemented cv::cuda::inRange(): #2803
      - (contrib) Added algorithms from Edge Drawing Library: #2313
      - (contrib) Added Python bindings for Viz module: #2882
- Add libva build dependency for HW accelerated videoio
- Slight bump for memory constraints

OBS-URL: https://build.opensuse.org/request/show/889708
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=25
2021-05-04 11:50:28 +00:00
Stefan Brüns
0e74ac0496 Accepting request 860308 from home:StefanBruens:branches:science
- update to 4.5.1, highlights below, for details check
  https://github.com/opencv/opencv/wiki/ChangeLog#version451
  * Continued merging of GSoC 2020 results:
    + Develop OpenCV.js DNN modules for promising web use cases
      together with their tutorials
    + OpenCV.js: WASM SIMD optimization 2.0
    + High Level API and Samples for Scene Text Detection and
      Recognition
    + SIFT: SIMD optimization of GaussianBlur 16U
  * DNN module:
    + Improved layers / activations / supported more models:
      - optimized: 1D convolution, 1D pool
      - fixed: Resize, ReduceMean, Gather with multiple outputs,
        importing of Faster RCNN ONNX model
      - added support: INT32 ONNX tensors
    + Intel® Inference Engine backend (OpenVINO):
      - added support for OpenVINO 2021.2 release
      - added preview support for HDDL
    + Fixes and optimizations in DNN CUDA backend (thanks to
      @YashasSamaga)
  * G-API Framework:
    + Introduced serialization for cv::RMat, including
      serialization for user-defined memory adapters
    + Introduced desync, a new Operation for in-graph asynchronous
      execution - to allow different parts of the graph run with
      a different latency
    + Introduced a notion of "in-graph metadata", now various
      media-related information can be accessed in graph directly
      (currently only limited to timestamps and frame IDs)
    + Introduced a new generic task-based executor, based on
      Threading Building Blocks (TBB)
    + Extended infer<>() API to accept a new cv::GFrame data
      structure to allow handling of various media formats without
      changes in the graph structure
    + Made copy() an intrinsic where real copy may not happen
      (optimized out) based on graph structure, extended it to
      support cv::GFrame
    + Various fixes, including addressig static analysis,
      documentation, and test issues
  * G-API Operations:
    + Introduced new operations morphologyEx, boundingRect,
      fitLine, kmeans, Background Subtractor, Kalman filter
  * G-API Intel® Inference Engine backend (OpenVINO):
    + Extended cv::gapi::ie::Params<> to import CNN networks (e.g.
      pre-compiled ones) instead of passing .XML and .BIN files;
      also enabled configuring Inference Engine plugins via
      this structure
    + Added a new overload to infer<>() to run inference over a
      single region of interest
    + Added support for cv::MediaFrame input data type (projected
      from cv::GFrame) and handling for NV12 input image format
  * G-API Python bindings:
    + Exposed G-API's Inference and Streaming APIs in the OpenCV
      Python bindings
    + Added initial Python support for cv::GArray data structure
  * Significant progress on RISC-V port.
- Updated constraints, bump memory to 5 GB
- Cleaned up spec file

OBS-URL: https://build.opensuse.org/request/show/860308
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=23
2021-01-04 19:56:22 +00:00
Dirk Stoecker
bbdea65764 Accepting request 828076 from home:marxin:memory-constraint
Use memoryperjob constraint instead of %limit_build macro.

OBS-URL: https://build.opensuse.org/request/show/828076
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=17
2020-08-24 16:12:54 +00:00
Stefan Brüns
9b0034c185 Accepting request 745039 from home:StefanBruens:branches:science
- Limit build parallelism with limit_build, some ARM and PPC workers
  have a high SMP/memory ratio and run out of memory otherwise.
- Apply memory constraints (3GB) to all architectures, avoid being
  scheduled on very weak workers.

OBS-URL: https://build.opensuse.org/request/show/745039
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=9
2019-11-03 20:42:12 +00:00
Stefan Brüns
93271feb41 Accepting request 722304 from KDE:Extra
Update to 4.1.1

OBS-URL: https://build.opensuse.org/request/show/722304
OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=2
2019-08-11 15:12:15 +00:00
Dominique Leuenberger
c612742431 Accepting request 365841 from KDE:Extra
Update for opencv 3.1.0. Everything required for digikam is added and digikam is building

OBS-URL: https://build.opensuse.org/request/show/365841
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opencv?expand=0&rev=61
2016-03-05 10:21:23 +00:00