Nyaya philosophy accepts four Pramanas (means of knowledge).
Among these, Pratyaksha (Perception) is considered the primary or foundational Pramana.
All other Pramanas (Inference, Comparison, Testimony) ultimately depend on Perception for their data.