What’s the happiest city in Canada? Jetpac City Guides might have an answer.

The app, which analyzes Instagram photos to produce city guides, processed over 100 million public pictures to count and measure smiles in Canadian cities. It rated smiles in geo-tagged photos on a scale of 0-100, giving higher scores to bigger smiles and lower scores to smaller grins, and produced a list of the top 25 happiest cities in Canada.

The results? Saskatchewan cities Regina and Saskatoon both made the top five, as did Quebec’s Gatineau and Quebec City, while big cities Toronto and Vancouver ranked lower on the list.

Check out Canada's happiest cities. Story continues below slideshow

Loading Slideshow...
  • Source: <a href="http://jetpac.com/blog/post/72793401269/happy-canadians#.UtVF0_RDuf8" target="_blank">Jetpac's Top Canadian cities in order of 'smile score'</a>

  • 25. Niagara-On-The-Lake, Ont.

    Smile score: 17.7

  • 24. Vancouver, B.C.

    Smile score: 20.2

  • 23. Toronto, Ont.

    Smile score: 21.3

  • 22. Montreal, Que.

    Smile score: 23.6

  • 21. Whistler, B.C.

    Smile score: 24.1

  • 20. Niagara Falls, Ont.

    Smile score: 25.4

  • 19. Mont Tremblant, Que.

    Smile score: 25.6

  • 18. Ottawa, Ont.

    Smile score: 26

  • 17. Halifax, N.S.

    Smile score: 26.2

  • 16. Victoria, B.C.

    Smile score: 26.8

  • 15. Burlington, Ont.

    Smile score: 27.2

  • 14. Winnipeg, Man.

    Smile score: 27.2

  • 13. Calgary, Alta.

    Smile score: 27.3

  • 12. Surrey, B.C.

    Smile score: 27.6

  • 11. Hamilton, Ont.

    Smile score: 27.9

  • 10. Banff, Alta.

    Smile score: 28.1

  • 9. Edmonton, Alta.

    Smile score: 29.3

  • 8. Kelowna, B.C.

    Smile score: 29.4

  • 7. Kitchener-Waterloo

    Smile score: 29.8

  • 6. London, Ont.

    Smile score: 32.3

  • 5. Saskatoon, Sask.

    Smile score: 33.4

  • 4. Gatineau, Que.

    Smile score: 33.8

  • 3. Quebec City, Que.

    Smile score: 34.5

  • 2. Regina, Sask.

    Smile score: 36.2

  • 1. Kingston, Ont.

    Smile score: 40.2

  • MORE: World's Happiest Countries

  • 20. Venezeula

  • 19. Luxembourg

  • 18. Ireland

  • 17. United States

  • 16. Mexico

  • 15. Panama

  • 14. United Arab Emirates

  • 13. New Zealand

  • 12. Costa Rica

  • 11. Israel

  • 10. Australia

  • 9. Iceland

  • 8. Austria

  • 7. Finland

  • 6. Canada

  • 5. Sweden

  • 4. The Netherlands

  • 3. Switzerland

  • 2. Norway

  • 1. Denmark

  • MORE: Cities With The Best Reputaton

  • 25: Rome, Italy

    Source: <a href="http://www.reputationinstitute.com/frames/events/2013_City_RepTrak_Press_Release.pdf" target="_blank">Reputation Institute</a>

  • 24: Auckland, New Zealand

  • 23: Barcelona, Spain

While scoring smiles is a creative way to judge happiness, previous reports have used a number of different factors.

Canada already had a good ranking for joyfulness, with the World Happiness Report listing the country as the sixth happiest in the world, thanks to qualities like high average income, long life expectancy and strong social ties, according to CBC.

The report also said a number of other variables largely explain differences in happiness levels, including freedom to make life choices, corruption and generosity.

‘Happy City’ author Charles Montgomery has also found that “the key ingredient to happy cities is positive social relationships, so the happy city is a social city.”

“People who live in towers report trusting their neighbours less,” he explained to Metro News in November, and he noted sprawl leads to longer commutes that can leave less time for social interaction.

And back in 2010, Lonely Planet named Montreal one of the world’s happiest places, praising the “clean, welcoming and refreshingly multicultural” city and its Just For Laughs comedy festival.

Which places on the list have you visited? What qualities did they have that made you happy? Tell us in the comments.

Related on HuffPost: