I was able to use other normal fonts from the list of apple standard fonts. Helvetica I think. I think it is just the standard user interface fonts that do not work.
let fontName = "Helvetica"
let meshResource = MeshResource.generateText(
message,
extrusionDepth: 0.001,
font: .init(descriptor: .init(name: fontName, size: size), size: size),
containerFrame: .init(x: -width/2, y: -height/2, width: width, height: height),
alignment: .center,
lineBreakMode: .byWordWrapping)
Post
Replies
Boosts
Views
Activity
Sometimes it is easier to rub out confusing things in an image editor. So you could have a picture with a cat and other animals. Rub out the other animals in the cat folder. You can have a folder of images that contain none clasified animals, rub out all the classified ones. Alternativly you label all the anamals and programatically remove labels for the animals you are not yet classifying before training. Its best to have balanced data with about the same number of each thing you are detecting. To add a new classification you may need to scrape more images containg that animal to make it balanced. When you have enough change the filter so it does not remove that label. Another trick for balancing is to use augmentation on enough images to make it balanced. So, for example, flip enough images of the the one that you are short of to make up the difference. (programatically flip the labels too)