WASHINGTON — President Barack Obama said Monday the deaths of unarmed black men in Missouri and New York show that law enforcement needs to change practices to build trust in minority communities, as a White House task force called for independent, outside investigations when police use deadly force.

The president said last year's deaths of Michael Brown in Ferguson, Missouri, and Eric Garner in New York City exposed "deep rooted frustration in many communities of color around the need for fair and just law enforcement." He said a policing task force that he appointed found it's important for law enforcement to improve training, data collection and cooperation with the communities they cover.

"The moment is now for us to make these changes," Obama said from the White House during a meeting with members of the task force, who worked for three months to develop the recommendations. "We have a great opportunity coming out of some great conflict and tragedy to really transform how we think about community law enforcement relations so that everybody feels safer and our law enforcement officers feel — rather than being embattled — feel fully supported. We need to seize that opportunity."

The task force made 63 recommendations after holding seven public hearings across the country that included testimony from more than 100 people. The panel also met with leaders of groups advocating for the rights of blacks, Hispanics, Asians, veterans, gays, the disabled and others.

Obama said the task force found the need for more police training to reduce bias and help officers deal with stressful situations. He recognized a particularly controversial recommendation would be the need for independent investigations in fatal police shootings.

"The importance of making sure that there's a sense of accountability when in fact law enforcement is involved in a deadly shooting is something that I think communities across the board are going to be considering," Obama said.

Specifically, the task force recommended external independent criminal investigations and review by outside prosecutors when police use force that results in death or anyone dies in police custody, instead of the internal investigations that are the policy of some law enforcement agencies. The task force suggested either a multi-agency probe involving state and local investigators, referring an investigation to neighboring jurisdictions or the next higher level of government. "But in order to restore and maintain trust, this independence is crucial," the report said.

Bill Johnson, the executive director of the National Association of Police Organizations, said an outside investigation of a police-involved shooting may make sense in limited circumstances when a police department has few resources. But in the vast majority of cases, he said, it is unnecessary and perhaps even counterproductive.

"I think it helps to drive a wedge between a local police department and the community it serves — which is exactly contrary to what the intent of this police task force was supposed to be," said Johnson, whose organization is an umbrella group of police unions. "I think it sends a message that your local police can't be trusted."

The task force echoed calls from officials including Attorney General Eric Holder and FBI Director James Comey for more complete record-keeping about the numbers of police-involved shootings across the country. Such data is currently reported by local law enforcement on a voluntary basis, and there is no central or reliable repository for those statistics.

"There's no reason for us not to have this data available," said Philadelphia Police Commissioner Charles Ramsey, a task force co-chair, who said he was surprised to learn that there were no reliable records kept. "Now that we know that this does not exist, it is our responsibility to do everything we can to develop that information."

Ramsey also pointed out that the task force recommended decoupling immigration from local law enforcement to help improve police relationship with immigrant communities where residents may fear calling for help if they or someone in their family is in the country illegally. He said information on immigrant felons would remain available under the panel's recommendations.

Obama earlier had called for Congress to help fund the purchase of 50,000 body cameras for police to wear and record their interactions with the public. But the task force found that the cameras raise extraordinarily complex legal and privacy issues.

"There's been a lot of talk about body cameras as a silver bullet or a solution," Obama said. "I think the task force concluded that there is a role for technology to play in building additional trust and accountability but it's not a panacea. It has to be embedded in a broader change in culture and a legal framework that ensures that people's privacy is respected."

Laurie Robinson, a professor at George Mason University and co-chair of the task force, told reporters the type of community-police relations envisioned by the report does not happen quickly.

"It takes time, it takes relationship-building and it doesn't happen overnight," she said.

Full task force report: http://www.cops.usdoj.gov/pdf/taskforce/Interim_TF_Report.pdf

Associated Press reporters Alicia Caldwell and Darlene Superville contributed to this report.

Follow Nedra Pickler on Twitter at https://twitter.com/nedrapickler and Eric Tucker at https://twitter.com/etuckerap