diff --git a/Game1/Game1.csproj b/Game1/Game1.csproj index 109cb08..f475799 100644 --- a/Game1/Game1.csproj +++ b/Game1/Game1.csproj @@ -89,6 +89,8 @@ + + diff --git a/Game1/Sources/ML-Joel/ImageData.cs b/Game1/Sources/ML-Joel/ImageData.cs new file mode 100644 index 0000000..569f0ef --- /dev/null +++ b/Game1/Sources/ML-Joel/ImageData.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +public class ImageData +{ + public ImageData(string imagePath, string label) + { + ImagePath = imagePath; + Label = label; + } + + public readonly string ImagePath; + public readonly string Label; +} \ No newline at end of file diff --git a/Game1/Sources/ML-Joel/InMemoryImageData.cs b/Game1/Sources/ML-Joel/InMemoryImageData.cs new file mode 100644 index 0000000..d15d0fe --- /dev/null +++ b/Game1/Sources/ML-Joel/InMemoryImageData.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +public class InMemoryImageData +{ + public InMemoryImageData(byte[] image, string label, string imageFileName) + { + Image = image; + Label = label; + ImageFileName = imageFileName; + } + + public readonly byte[] Image; + public readonly string Label; + public readonly string ImageFileName; +} \ No newline at end of file