A US government agency was using facial recognition to identify him, he said.

Its worrisome that my face could end up in a database used by another government agency.

Some civil liberties experts say the use of such technologies threatens privacy.

People enter the United States through the Mexicali-Calexico pedestrian border crossing

Eder Zaid Figueroa / Norte Photo / Getty Images

Previously, CBP officialssaidthe agency will use facial recognition to identify every traveler entering the country by 2025.

The technology is also used to screen travelers entering the US at airports.

One problem with facial recognition technology is that its still not accurate enough to prevent false matches.

Multiple security cameras watching a locked smartphone

Jeffrey Coolidge / Getty Images

For example, current facial recognition systems often misidentify people of color, Learned-Miller said.

Its inappropriate to be using this technology until it has improved.

CBP says the facial recognition systems it uses are designed to protect privacy.

New photos of US citizens will be deleted within 12 hours.

Photos of foreign nationals will be stored in a secure DHS system.

Now, most searches of electronic devices are collected with warrants, the report said.

How the data collected at borders are shared between government agencies is key to protecting privacy.

CBP cant just hand over data to the IRS or anybody in the government.

We have to look at whether requests for information sharing are being made inappropriately.

Safeguards need to be put in place to confirm the data collected is not misused, observers say.