The quality of solar panels can be determined by factors such as the efficiency of the panels, the type of cells used, the durability and warranty of the panels, and the certifications obtained by the manufacturer.