PascalXMLStructure 2.4.2

dotnet add package PascalXMLStructure --version 2.4.2                
NuGet\Install-Package PascalXMLStructure -Version 2.4.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PascalXMLStructure" Version="2.4.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PascalXMLStructure --version 2.4.2                
#r "nuget: PascalXMLStructure, 2.4.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PascalXMLStructure as a Cake Addin
#addin nuget:?package=PascalXMLStructure&version=2.4.2

// Install PascalXMLStructure as a Cake Tool
#tool nuget:?package=PascalXMLStructure&version=2.4.2                

This library adds class to your solution that manages the structure of Pascal VOC. Use as is.

Customization has been done to include confidence and an evaluation property. The evaluation property was used to signal if an AI solution has evaluated the object or not.(Can be disregarded)

Updated the solution with XML mangement. It can save and read XML PASCAL/VOC file format using the new methods.

Example:

Read XML:

PascalXMLStructure annotationObject = PascalXMLStructure.ParseXML(filename); Replace filename with the path to the file for example : "c:\temp\my_file.xml"

the result will be an annotation object with all the content of the file.

SaveXML: PascalXMLStructure.SaveXML(filename, annotationObject.Annotations);

Read Yolo format To read from yolo the image size, label information is needed.

Syntax: PascalXMLStructure.ParseYolo("yololabelfile.txt",labels, <width>, <height>,<depth>);

width, height and depth as integer

the labels object is a string array in the order to down as the numbering in the yolo format. For example 0 : Cat 1: Dog 2: Phone 3: ...

The object will be the same as for Pascal. The missing information will be empty values.

Save to Yolo format: The label information must be in a dictionary. it is used from the annotation object name of the class to return to the number previously entered.

Syntax: PascalXMLStructure.SaveYolo("labelfile.txt", pascalXMLStructure.Annotations, labelDict);

The result will be a XML/TXT file with the annotaionobject depending on the output format chosen.


Release Notes:

2024-02-05 - Changed class method names for ParseXML and SaveXML to ParsePascal and SavePascal. Added Yolo txt support for ParseYolo and SaveYolo. Conversion to Yolo or to Pascal format can be done by saving the annotation object. note data loss if saving to Yolo format. 2023-06-16 - Change the datastructure so that it is accessable and possible to read and write XML files. 2023-06-16 - Updated namespace to PascalVOC 2023-06-16 - Added multiframework support.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.4.2 144 2/5/2024
2.3.2 157 6/16/2023