Kudos to Detroit Police Chief James Craig for pushing back hard against the latest nonsense from Rep. Rashida Tlaib.

It all started when the Michigan Democrat tweeted at the DPD: “You should probably rethink this whole facial recognition bulls - - t.”

She basically thinks this promising new technology doesn’t work — or, if it does, is anti-black. That is, that it’s “often used to track and control vulnerable communities, particularly communities of color.”

That’s why she supports the bill from Rep. Yvette Clarke (D-Brooklyn) to ban the tech from federally funded public housing.

There’s a nugget of truth here: This tech so far doesn’t do as well at ID’ing women or people with darker skin tones. But it’s a known problem, and the industry is working to improve that performance — and actual human beings decide what, if any, actions to take.

In response to Tlaib’s tweet, Craig invited her to tour the Detroit PD’s Real Time Crime Center, where the tech is in use. It was there that she told him he should only hire black people as analysts to run the software because “non-African Americans think African Americans all look the same.”

The chief, himself African American, wouldn’t have it: “I trust people who are trained, regardless of race, regardless of gender,” he replied. He then explained how the tech works, how police analysts review the software’s results before making determinations and how suspects aren’t arrested solely on results.

“See if you can get some of our money back until they fix it,” said an undeterred Tlaib. The chief simply replied, “No.”

What Tlaib, and cop-bashers generally, refuse to recognize is that “vulnerable communities” — low-income, urban ones — need quality policing more than anyone else. The rich can and do spend on private security; the middle class can move to safer areas.

Meanwhile, the vast majority of poor people are law-abiding, and so better off if new tools can make the police more effective.

Detroit is lucky to have Chief Craig to counter Rep. Tlaib’s racist, ignorant poison.