Canada's Brian Yang starred as the men's team qualified for the final  ©Getty Images

Canada's men and women qualified for the Pan Am Male and Female Cup finals after beating Mexico and Guatemala, respectively.

Canada will face Brazil in the men’s final and the United States in the women’s final.

Brian Yang brushed past Lino Muñoz 24-22, 21-8 to give Canada's men the advantage as they beat Mexico 3-1.

BR Sankeerth then got the better of Luis Armando Montoya Navarro 21-13, 21-19 to make it 2-0.

Mexico fought back as Job Castillo earned a hard-fought 21-10, 20-22, 21-16 victory over Victor Lai in the third match, sparking hopes of a comeback.

However, doubles pair of Kevin Lee and Ty Alexander Lindeman sealed the victory with a 21-13, 15-21, 21-16 win over Sebastian Martinez Cardoso and Muñoz.

Brazil's men beat the US 3-0.

Wendy Zhang started the proceedings for Canada's women with a routine 21-15, 21-9 win over Guatemala’s Nikté Sotomayor, and Canada went on to win 5-0.

Camille Leblanc won 21-6, 15-21, 21-10 over Alejandra José Paiz Quan and the third singles game saw Eliana Zhang oust Mariana Isabel Paiz Quan 21-4, 21-7.

The doubles matches saw Catherine Choi and Josephine Wu beat Diana Corleto Soto and Sotomayor 21-10, 21-19 before Crustal Lai and Alexandra Mocanu triumphed over Alejandra José Paiz Quan and Mariana Isabel Paiz Quan 21-5, 21-13 to complete an emphatic win.

The American women beat Brazil 3-0 to reach the final.