The meaning of this idiom is, in fact, do not judge anything or anyone, but the only thing that we have seen outside or looks only. But judging from what should be our identity and it's really effective, or, or.
The real meaning of this phrase is. Do not judge anything or anyone, but just what we have seen or external appearance only. But judging from what is tangible and what it's really capable or effective or that person.