asd
This commit is contained in:
parent
a656d768f6
commit
710cd8581e
@ -89,6 +89,8 @@
|
||||
<Compile Include="Sources\Crops\CropTypesHolder.cs" />
|
||||
<Compile Include="Sources\Crops\PerlinNoise.cs" />
|
||||
<Compile Include="Sources\Crops\SoilProperties.cs" />
|
||||
<Compile Include="Sources\ML-Joel\ImageData.cs" />
|
||||
<Compile Include="Sources\ML-Joel\InMemoryImageData.cs" />
|
||||
<Compile Include="Sources\ML\Engine.cs" />
|
||||
<Compile Include="Sources\Objects\DayNightCycle.cs" />
|
||||
<Compile Include="Sources\Objects\Fertilizer.cs" />
|
||||
|
17
Game1/Sources/ML-Joel/ImageData.cs
Normal file
17
Game1/Sources/ML-Joel/ImageData.cs
Normal file
@ -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;
|
||||
}
|
19
Game1/Sources/ML-Joel/InMemoryImageData.cs
Normal file
19
Game1/Sources/ML-Joel/InMemoryImageData.cs
Normal file
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user