I need to build a tool for detecting where in an image certain objects are located. The objects are quite irregular – they are fruit flies – and need to be detected at close to pixel perfect boundaries, especially for the case when two flies are right next to eachother.
I have tried doing a simple convolutional neural network based approach training a softmax classifier and then running this network over every pixel in the image to obtain a heatmap.
However, I'm curious if a less complex approach would also work.
I would take all the ground truth images (x,y, r,g,b) and then find the expected eigenvectors. Then, I would try to find the best superpositions of the eigenvectors onto a given input image. In other words, convolve a filter over the image that extracts eigenvectors and then take the distance of these eigenvectors to the expected eigenvectors which represent the fly in lower dimensions. How would I analyze this idea?