452 / dahua-sdk Goto Github PK
View Code? Open in Web Editor NEWUsed SDK from Official web site support -> Download Center
License: Apache License 2.0
Used SDK from Official web site support -> Download Center
License: Apache License 2.0
Please me help
I'am try a build sdk in linux , I can't build the project
I have tried to use modify, delete and add face info methods to get face info. I have just changed parameter types and enum value.
public static NET_OUT_GET_FACE_INFO getFaceInfo(String userId) {
NET_IN_GET_FACE_INFO stIn = new NET_IN_GET_FACE_INFO();
System.arraycopy(userId.getBytes(), 0, stIn.szUserID, 0, userId.getBytes().length);
NET_OUT_GET_FACE_INFO stOut = new NET_OUT_GET_FACE_INFO();
stIn.write();
stOut.write();
boolean bRet = LoginModule.netsdk.CLIENT_FaceInfoOpreate(LoginModule.m_hLoginHandle, EM_FACEINFO_OPREATE_TYPE.EM_FACEINFO_OPREATE_GET, stIn.getPointer(), stOut.getPointer(), 5000);
if (bRet) {
System.out.println("find face info!");
} else {
System.err.println("error in reading face!" + ToolKits.getErrorCodePrint());
return null;
}
stIn.read();
stOut.read();
return stOut;
}
But, it says:
{error code: (0x80000000|21).参考 NetSDKLib.java } - {error info:Error occurs when verify returned data}
Please, help to find what is wrong
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.