public static class EM_NATION_TYPE extends MyStructure
      public static final int EM_NATION_TYPE_UNKNOWN = 0;                   // 未知
      public static final int EM_NATION_TYPE_UYGUR = 1;                     // 维族(新疆)
      public static final int EM_NATION_TYPE_OTHER = 2;                     // 其他
      public static final int EM_NATION_TYPE_UNIDENTIFIED = 3;              // 设备未识别

indicating that Uyghurs are particularly targeted for facial recognition by Dahua.

The code is present in official downloads from:

which was visible from: https://www.dahuasecurity.com/support/downloadCenter/softwares?child=3&page=2 under download name "General_NetSDK_ChnEng_JAVA_Linux64_IS_V3.052.0000001.0.R.200407" before being taken down after the reports:

The code was spotted mirrored on GitHub, likely unofficially, but it was soon taken down, archive: https://web.archive.org/web/20201102065525/https://raw.githubusercontent.com/gaomingbo/dahua-netsdk/master/src/main/java/com/dahua/lib/NetSDKLib.java

Ciro Santilli (三西猴, anti-CCP fanatic, 反中共狂热, stupid cunt, 傻屄, CIA agent, CIA特工, 肏你妈的) downloaded it from the official website and verified that the code in question was there.


On 2020-11-20, Dahua DMCAed https://github.com/cirosantilli/epps-service at https://github.com/github/dmca/blob/master/2020/11/2020-11-25-Dahua.md which had been forked https://github.com/gaomingbo/epps-service from https://web.archive.org/web/20201102170146/https://github.com/cirosantilli/epps-service but Ciro is not sure it contains anything of particular interest, he had just forked all repos from gaomingbo. That one appeared to be just a car plate recognition sytem.