mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
8e4995a6a5
- **UVtoolsCmd:**
- **print-properties:**
- (Change) `-b`, `--base` option to `-a`, `-all` to indicate all properties and sub-properties, now defaults to only show base properties
- (Add) `-r`, `--range` option to prints only the matching layer(s) index(es) in a range
- (Add) `-i`, `--indexes` option to prints only the matching layer(s) index(es)
- (Add) Command: `set-properties <input-file> <property=value> Set properties in a file or to it layers with new values`
- (Add) Command: `print-issues <input-file> Detect and print issues in a file`
- (Add) New option to the `run` command: `-p, --property <property=value> Set a property with a new value (Compatible with operations only)`
- (Remove) Command: `print-layers` as it has been moved to `print-properties`, use `-r :` to obtain same result as default on `print-layers`
- **Issues:**
- (Fix) Issues groups with only one issue was displaying the wrong area value
- (Fix) Volume incorrectly calculated, resulting in a high value for group of issues
- (Fix) Incorrect calculation of the bounding rectangle for a group of issues
- **Repair layers:**
- (Add) Switch to opt between "Re-detect the selected issues before repair" and "Use and repair the previous detected issues" (Default)
- (Improvement) Do not allow to run the tool if there are no detected issues when the option "Use and repair the previous detected issues" is selected
- (Improvement) Linux: Recompile libcvextern.so on a older system to be able to run on both older and newest system (#603)
- (Upgrade) .NET from 6.0.10 to 6.0.11
Build scripts & tools
Requirements
Windows
- dotnet sdk
- Windows Subsystem for Linux (WSL)
- dotnet-sdk
- wget
- zip
- unzip
Linux and macOS
- dotnet-sdk
- wget
- zip
- unzip
Scripts
- compile.(bat|sh): Compiles project under default configurations
- run.(bat|sh): Compiles and runs the project under default configurations
- createRelease.(ps1|sh): Compiles, publish and pack a release for a target runtime
- libcvextern.sh: Compiles and produces
libcvextern.so|dylib- This script is independent and can run outside UVtools project, it's an standard alone script
- Required when:
- Your system is not included in UVtools releases
- When lunch UVtools and got the error:
System.DllNotFoundException: unable to load shared library 'cvextern' or one of its dependencies
This means you haven't the required dependencies to run the cvextern library, that may due system version and included libraries version, they must match the compiled version of libcvextern.
To know what is missing you can open a terminal on UVtools folder and run the following command:ldd libcvextern.so |grep not. That will return the missing dependencies from libcvextern, you can try install them by other means if you can, but most of the time you will need compile the EmguCV to compile the dependencies and correct link them, this process is very slow but only need to run once.
- How to apply to UVtools:
- Copy the output file 'libcvextern.so|dylib' from 'emgucv/libs/*' created by this compilation to the UVtools executable folder and replace the original.
- Keep a copy of file somewhere safe, you will need to replace it everytime you update UVtools.
- Additionally you can share your libcvextern.so|dylib on UVtools GitHub with your system information (Name & Version) to help others with same problem, anyone with the same system version can make use of it without the need of the compilation process.
- Note: You need to repeat this process everytime UVtools upgrades OpenCV version, keep a eye on changelog.