Submitted by vocdex t3_y6abd5 in MachineLearning
I trained a SINGLE class instance segmentation model with Detectron2 and YOLACT.
Both perform quite well.
What I want to do next:
- Crop out detected instances.
- Obtain image embeddings using PCA/ (VAE) Autoencoders ( any suggestions?)
- Do some sort of clustering based on those embeddings ( K-means, PCA)
Anyone thinks this pipeline makes sense? Could you guys provide any suggestions for image embedding techniques?
I am expecting this pipeline to group the class object into 2 categories based on shape: straight and bent. This feature is most visible to human eye but not sure if this works.
Thanks a lot!
# Edit: object is asparagus in a greenhouse farm. I'm using instance segmentation to avoid back/fore ground pixels in order to later use this segmentation mask for point cloud generation (with corresponding depth maps).
Grove_street_home t1_iso2syg wrote
I have no direct answer, but if you want to separate the straight and bent objects you could also try to compare them to their convex hull images (assuming that bent objects actually have concave segmentation masks).
So for example, if the convex hull image of a mask is 20% bigger or more, then the object is bent. Else, it's straight.