Like everyone has said: head tube length (on traditional frames). But you gotta combine that with a lot of time spent looking at pictures of bikes. After getting into the hobby I realized that after a month or so I was starting to eyeball frame sizes, not long after that I was a natural.
So it sounds like you’re on the right track, you just maybe haven’t looked through countless thousands of photos of bicycles like the rest of us