Recent Releases of pyorc

pyorc - v0.8.8

[0.8.8] = 2025-07-14

Added

Changed

Deprecated

Removed

Fixed

  • issues with plotting cross sections in edge cases with water levels equal to lowest point or above highest point
  • fixed problem with situations where either the cross section data from a shapefile or the camera configuration did not contain CRS information. This is now correctly parsed when creating a CrossSection instance.

- Python
Published by hcwinsemius about 1 year ago

pyorc - v0.8.7

[0.8.7] = 2025-06-30

Added

  • CLI option --cross_wl
  • A new 3-point bounding box estimation, ideal for selecting a bounding box in strongly oblique cases. First select left bank, then right bank, then a point up- or downstream from the selected line for the size of the bounding box.
  • rvec and tvec are written to camera configuration after fitting. ### Changed
  • CLI option --cross_wl now replaces --cross for optical water level estimation. --cross is only used for discharge calculation
  • Plotting in camera objective is accelerated
  • water level detection with CrossSection.detect_water_level can now consume either min_z and max_z (for levels in the original coordinate system) or min_h and max_h (for levels using the local h_ref datum if provided). These minimum and maximum levels can be used to pre-condition the level range that the algoithm will seek in.
  • Pose fitting can now be performed with a pre-defined camera matrix and set of distortion coefficients. This is very useful when a user has already pre-calibrated these parameters. It will improve the fit of the rvec and tvec, i.e. rotation and translation vectors.
  • Changed code coverage reporting from Codecov to sonarqube for code coverage reports. Codecov caused issues with numba code. ### Deprecated ### Removed ### Fixed
  • incorrect estimation of optical water level if bank="near" was used. This resulted in only a smaller portion of the cross section being used. Now the full nearby side is used.

- Python
Published by hcwinsemius about 1 year ago

pyorc - v0.8.6

This release allows for pre-fixing camera lens parameter including focal length and the k1 and k2 radial distortion. When these parameters are provided on command line, the camera matrix and distortion coefficients are not optimized but fixed instead. If only one or two parameters, or none at all are provided, the remainder parameters will be estimated through optimization.

A small bug fix was also made in the reading of geojsons without CRS. This is now possible without resulting in any errors.

What's Changed

  • 220 fit pose fix intrinsics by @hcwinsemius in https://github.com/localdevices/pyorc/pull/222

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.8.5...v0.8.6

- Python
Published by hcwinsemius about 1 year ago

pyorc - v0.8.5

What's Changed

  • Small bug fix in plotting in camera mode. This resulted in swapped coordinates over the left-to-right bank direction
  • Service level calling of CLI can now also be done with the new --cross method.

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.8.4...v0.8.5

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.8.4

What's Changed

  • much faster `Frames.project(method="numpy")
  • method="numpy" is now the default projection.

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.8.3...v0.8.4

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.8.3

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.8.2

What's Changed

  • 211 bug fix in plotting in camera perspective in shallow angles.

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.8.1...v0.8.2

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.8.1

What's Changed

  • allow for use of single image in camera calibration CLI
  • small fixes and bugs water level CrossSection plotting
  • backwards compatibility py3.9

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.8.0...v0.8.1

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.8.0

What's Changed

  • a new cross section class CrossSection is introduced
  • the CrossSection class can be used to measure optical water level in a provided single-channel image using pure-computer vision methods
  • 3d plotting functionalities are introduced for both CrossSection and CameraConfig classes
  • Particle Image Velocimetry is now by default performed using the new numba engine. OpenPIV is still available but deprecated. A huge thanks for the OpenPIV team for the past years.

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.7.2...v0.8.0

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.7.2

What's Changed

  • 202 prepare water level interpretation by @hcwinsemius in https://github.com/localdevices/pyorc/pull/203

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.7.1...v0.7.2

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.7.1

What's Changed

  • 197 stabilization by @hcwinsemius in https://github.com/localdevices/pyorc/pull/199

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.7.0...v0.7.1

  • last frame in a video is now properly read, even if stabilization is used.
  • writing of frames to video is now very fast.

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.7.0

What's Changed

  • 184 ruff precommit and 185 improved transect plot by @hcwinsemius in https://github.com/localdevices/pyorc/pull/185
  • 189 portrait mode by @hcwinsemius in https://github.com/localdevices/pyorc/pull/191
  • 193 accelerate piv by @hcwinsemius in https://github.com/localdevices/pyorc/pull/196

With this release the entire workflow for velocimetry estimation is accelerated significantly. Typical videos may take about a factor 4-5 less time to process with exactly the same results. Exact speed-up is dependent on available CPU and memory resources.

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.6.1...v0.7.0

- Python
Published by hcwinsemius over 1 year ago

pyorc - v0.6.1

What's Changed

  • fix #180 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/181

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.6.0...v0.6.1

- Python
Published by hcwinsemius almost 2 years ago

pyorc - v0.6.0

What's Changed

  • 171 bug project numpy by @hcwinsemius in https://github.com/localdevices/pyorc/pull/173
  • 176 implement openrivercam logo by @hcwinsemius in https://github.com/localdevices/pyorc/pull/177
  • Update tests.yml temporary adding of workflow_dispatch by @hcwinsemius in https://github.com/localdevices/pyorc/pull/179
  • 174 precommit install by @hcwinsemius in https://github.com/localdevices/pyorc/pull/178

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.5.5...v0.6.0

- Python
Published by hcwinsemius almost 2 years ago

pyorc - v0.5.5

What's Changed

  • fix #161 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/162
  • Bugs 164 165 solved by @hcwinsemius in https://github.com/localdevices/pyorc/pull/166
  • Bugs 164 165 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/167

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.5.4...v0.5.5

- Python
Published by hcwinsemius about 2 years ago

pyorc - v0.5.4

What's Changed

  • fixed a difficult to interpret CLI error #155
  • updated CI actions as OpenCV dependencies changed

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.5.3...v0.5.4

- Python
Published by hcwinsemius over 2 years ago

pyorc - v0.5.3

What's Changed

  • bug with windows machines fixed, where local coordinate system coordinates were in some cases truncated when 64-bit floats were subtracted from 32-bit floats. This is a behaviour in numpy #145 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/146
  • adding ability to rotate videos through a rotation property in camera configuration or per single video by @hcwinsemius in https://github.com/localdevices/pyorc/pull/147
  • Solving issue with projection using a new method method="numpy" by @hcwinsemius in https://github.com/localdevices/pyorc/pull/149
  • fixing #138 making velocity processor more serializable by @hcwinsemius in https://github.com/localdevices/pyorc/pull/150
  • fix #144 also allowing for a hard-set fps by @hcwinsemius in https://github.com/localdevices/pyorc/pull/153

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.5.2...v0.5.3

- Python
Published by hcwinsemius over 2 years ago

pyorc - v0.5.2

What's Changed

  • fix #134 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/135
  • getting ready for v0.5.2 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/137

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.5.1...v0.5.2

- Python
Published by hcwinsemius almost 3 years ago

pyorc - v0.5.1

What's Changed

  • fix #128 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/129
  • Issue 128 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/132
  • Update main.py by @hcwinsemius in https://github.com/localdevices/pyorc/pull/133

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.5.0...v0.5.1

- Python
Published by hcwinsemius about 3 years ago

pyorc - v0.5.0

What's Changed

Several large updates were made to:

  • make it a lot easier to get well-calibrated ground control and lens parameters at the same time. we now do this by optimizing the lens' focal length and (if enough ground control is provided) barrel distortion whilst fitting the perspective to the user-provided ground control points
  • provide the fitted ground control points in the interface so that the user can immediately see if the ground control points are well fitted or if anything seems to be wrong with one or more control points.
  • get much-improved stabilization for non-stable videos
  • feature stabilization on command line which consequently provided user-interfacing to select non-moving areas by pointing and clicking.

The following issues are the major issues describing these major improvements.

The stabilization is arranged slightly differently on the API and can now already be set in camera configuration. This is a change in API requiring a medior version bump.

  • Issue 122 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/124
  • Issue 126 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/127

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.4.3...v0.5.0

- Python
Published by hcwinsemius about 3 years ago

pyorc - v0.4.3

What's Changed

  • fix #105 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/114 flipped images with rotated videos are visualized appropriately.
  • Issue 113 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/118 A nadir drone video can now be processed with only 2 ground control points (x,y only) allowing for very fast field work experiences.
  • Issue 89 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/120 Improves stabilization of shaky videos

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.4.2...v0.4.3

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.4.2

Hot fix for entry points cli

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.4.1

Hot fix of setup.py dependency error

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.4.0

Added

The most notable change is that the code now includes an automatically installed command-line interface. This will facilitate a much easier use by a large user group. Also the documentation is fully updated to include all functionalities for both command-line users and API users. In detail we have the following additions: - First release of a command-line interface for the entire process of camera configuration, processing and preparing outputs and figures. - Service layer that makes it easy for developers to connect pyorc to apps such as GUIs or dashboards. - Full user guide with description of both the command-line interface and API.

Changed

  • Small modifications and additions in the API to accomodate the command-line interface building. ### Deprecated ### Removed ### Fixed
  • Bug fixes in the video objects causing videos to sometimes not open properly because of missing frames ### Security

Pull requests are below:

  • rebase cli with main by @hcwinsemius in https://github.com/localdevices/pyorc/pull/108
  • Cli by @hcwinsemius in https://github.com/localdevices/pyorc/pull/112

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.3.4...v0.4.0

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.3.4

What's Changed

  • Issue 109 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/110

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.3.3...v0.3.4

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.3.3

What's Changed

  • entirely new and future proof subclass for masking velocimetry values using several masking methods (deprecates any methods starting with pyorc.Velocimetry.filter (fixes issue #101)
  • Documentation added on velocimetry and masking of velocimetry in a new User Guide chapter
  • Small bug fixes

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.3.2...v0.3.3

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.3.2

  • fixes #102 scipy 1.10.0 was released on 2023-01-04 and caused a bug in the xr.Dataset.interp functionality of xarray. This has for now been resolved by altering datatypes of all variables in velocimetry results into np.float64.

  • adds functionality to pyorc.Velocimetry.get_transect that allows altering the window of selection into different strides in x and y direction.

What's Changed

  • Issue 96 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/100
  • fix #102 bump version by @hcwinsemius in https://github.com/localdevices/pyorc/pull/103

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.3.1...v0.3.2

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.3.1

What's Changed

  • Issue 82 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/91
  • Bugs issue 82 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/92

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.3.0...v0.3.1

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.3.0

What's Changed

  • Issue 82 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/88
  • Issue 87 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/88

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.2.4...v0.3.0

- Python
Published by hcwinsemius over 3 years ago

pyorc - v0.2.4

Stabilization added and documented, ideal and essential for drone operators or users with smart phones

What's Changed

  • Issue 35 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/81

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.2.3...v0.2.4

- Python
Published by hcwinsemius almost 4 years ago

pyorc - v0.2.3

What's Changed

  • Trademark guidelines #76 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/77
  • Issue 78 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/79

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.2.2...v0.2.3

- Python
Published by hcwinsemius almost 4 years ago

pyorc - v0.2.2

What's Changed

  • rebase pytest by @hcwinsemius in https://github.com/localdevices/pyorc/pull/65
  • Create tests.yml by @hcwinsemius in https://github.com/localdevices/pyorc/pull/67
  • GPL to AGPL by @smathermather in https://github.com/localdevices/pyorc/pull/72
  • rebase with new GPL license by @hcwinsemius in https://github.com/localdevices/pyorc/pull/73
  • Pytest by @hcwinsemius in https://github.com/localdevices/pyorc/pull/71
  • Bumping to 0.2.2 for pytest, adding badges to README.md #43 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/74

New Contributors

  • @smathermather made their first contribution in https://github.com/localdevices/pyorc/pull/72

Full Changelog: https://github.com/localdevices/pyorc/compare/v0.2.1...v0.2.2

- Python
Published by hcwinsemius almost 4 years ago

pyorc - pyorc API

What's Changed

  • Classes by @hcwinsemius in https://github.com/localdevices/pyorc/pull/15
  • Restructure by @hcwinsemius in https://github.com/localdevices/pyorc/pull/32
  • Notebooks by @hcwinsemius in https://github.com/localdevices/pyorc/pull/42
  • Spatial filter by @hcwinsemius in https://github.com/localdevices/pyorc/pull/45
  • Plot api by @hcwinsemius in https://github.com/localdevices/pyorc/pull/48
  • fixed #41 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/51
  • fixed #50 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/52
  • fixed #53 and #55 by @hcwinsemius in https://github.com/localdevices/pyorc/pull/56

New Contributors

  • @hcwinsemius made their first contribution in https://github.com/localdevices/pyorc/pull/15

Full Changelog: https://github.com/localdevices/pyorc/compare/0.1.0...v0.2.0

- Python
Published by hcwinsemius about 4 years ago

pyorc - v0.1.0

[0.1.0] - 2022-01-21

Added

  • First release

- Python
Published by hcwinsemius over 4 years ago