Hi, I am building a system where cameras are used to solve sample location in a turntable. The main feature is to detect this rectangle shaped sample holder, and track it's corners when it's being rotated. I am using vision assistant, and within it, shape detection function to do this. The issue is that I can't figure out how to make the detection better. In the pictures below, you can see that the shape detection seem to work quite well when the object is straight, but when it's turned, the detection algorithm doesn't do very good job.