A gunman shot and killed five people before taking his own life at a popular fresh food market in the Thai capital on Monday, according to police.

The victims included security guards at the Or Tor Kor market in Bangkok's Chatuchak district, according to a police statement.

The Erawan Medical Center, which coordinates emergency medical services, reported two women were also wounded.

The market, next to the sprawling Chatuchak weekend market, carries all sorts of goods and is popular with Thai and foreign tourists.

A video circulating online reportedly showed the shooter wearing a baseball cap and shorts walking in the market with a backpack strapped to his chest and a handgun in his right hand.