A female police officer who has served for 20 years has railed against the shooting of Louisiana man Alton Sterling by telling racist cops to "take the uniform off and put a KKK hoodie on".

In an emotional video outburst, Nakia Jones, who has been a police officer since 1996, said she was proud to protect and serve, and wanted to make a difference in people's lives.

"If you are white and you working in a black community and you are racist, you need to be ashamed of yourself," she said. "You stood up there and took an oath and if this is not where you want to work you need to take your behind somewhere else."

Alton Sterling died on 5 July from multiple gunshot wounds to the chest and back after being apprehended by police in the state capital Baton Rouge, less than 48 hours later another black man, Philando Castile, 32, was fatally shot by police after a traffic stop.

Jones, who is from Cleveland, said she had watched the video of Sterling's shooting numerous times, stating: "I am here because I want to make a difference but how dare you stand next to me in the same uniform and murder somebody. How dare you.

"You ought to be ashamed of yourself. So why don't we just keep it real – if you that officer who know good and well you have a God complex, you're afraid of people that don't look like you, you have no business in that uniform – take it off."

She added: "There's many of us that would give our life for anybody and we took this oath and we meant it. If you are an officer that's prejudiced, take the uniform off and put the KKK hoodie on."