I am using the ZKteco device (speedFace-V4L) with the ZKFace VX5.8 facial algo.
I want to download and upload the users faces templates, but I can't do it.
If I try to download the face template (from device to software) it works, but the opposite does not work, it downloads all other information without a face template.
I debugged this and found the error code is -103, according to the documentation which means device send back error of face version error
I tested the official demo with this device, and it still doesn't work!
I'm using GetUserFaceStr(int dwMachineNumber, string dwEnrollNumber, int dwFaceIndex, ref string TmpData, ref int TmpLength); function to get user informations and SetUserFaceStr(int dwMachineNumber, string dwEnrollNumber, int dwFaceIndex, string TmpData, int TmpLength) to set it
I forgot to say that the functions are working fine with the MB2000 device.
How can i solve this please.
Device: SpeedFace V4L
Face algo: ZKFace VX5.8
SDK: Standalone SDK-6.3.1.43
Language: C#, WPF
I had the same problem just a few days. We contacted ZKteco support and this the solution:
The Standalone SDK is not fully compatible with ZkTeco Visible Light Series devices and you have to contact ZKteco Sales to request the Push SDK which is in deed a communication protocol Http based so they will give access to the Api.
The ZkTeco new devices have http server like embeded. Also you have to pay for that Push SDK.
But with it you will be able to download user faces and upload user faces to SpeedFace v4L devices via TCP IP.
Related
I cannot enroll face via C# application. I can enroll directly in the device and I can access the enrolled face using the function GetUserFaceStr. I could do fingerprint enrollment from c# application. But device not responding to face enrollment. I'm using dll from standalone+sdk-6.3.1.37-doc-2.1.0-demo-1.1.15.In the demo application, I cannot find any code for enrolling face. In the SDK changelog.txt file, its mentioned
2017-07-13:
1.StartEnrollEx support face online registration.
But the function StartEnrollEx takes FingerID as a parameter. Any help would be appreciated.
Thanks in advance
Try using StartEnrollEx with FingerIndex = 111 to enroll face.
I sent the same question to ZKteco Technical dept and received that response. I tried it was successful.
I've got Sony A6000 camera with the latest firmware(3.20) and latest Smart Remote Control application (4.30). I've been trying to write application for transferring images, but faced with issues.
I can't switch camera function to Contents Transfer mode.
Repro steps:
Run Smart Remote Control app on my camera;
Sucesfully connect device to camera via WI-FI;
Discover the camera with parameter ST=urn:schemas-sony-com:service:ScalarWebAPI:1;
Receive response Location http://ip:port/scalarwebapi_dd.xml (instead mentioned in doc http://ip:port/dd.xml);
Parsed scalarwebapi_dd.xml contains guide, accessControl and camera services (instead mentioned in doc camera, system and avContent);
Request with getAvailableApiList method return the following:
getVersions, getMethodTypes, getApplicationInfo, getAvailableApiList, getEvent, startRecMode, stopRecMode.
Successfully run request with "startRecMode" method;
"getAvailableApiList" result doesn't contain "getCameraFunction" and
"setCameraFunction"
"getCameraFunction" return the following result:
{"id":1,"error":[1,"Not Available Now"]}
What I'm doing wrong?
Smart Remote 4.30 should give you the avContent services. I had an older version that had the same guide, accessControl, camera but after I updated it had the avContent service.
You can also try using getEvent to troubleshoot the camera status. This could shed some light into why the services aren't available.
I find the parse documentation is little confusing when it comes to Android. I am sending notifications using Parse from a .NET background service. The service is calling Parse REST API
Install the device with deviceToken and deviceType
Send push notification to device once the previous step is successful.
This works beautifully with iOS device
POST: 1/push
{
"deviceToken": "<big device token>",
"deviceType": "android",
"channels" : []
}
This says
{
code: 114
error: "deviceToken may not be set for deviceType android"
}
the documentation says, we need to have a unique installationId for Android device install uploads. How do I do this from backend? Which API should be used to get installation Id?
This is how you get the installation ID :
ParseInstallation.getCurrentInstallation().getInstallationId()
(Class Reference)
What I understand, Parse doesn't support android device installations using REST API; it supports from client side SDK.
https://www.parse.com/questions/android-device-installation-via-rest
So I am trying to connect a bluetooth speakers from a script. I am using 32feet.net and I have successfully found the device but it doesn't work when I try to pair and connect to it.
This is the code im using to pair to device, this always fails not sure why:
private static void connected(BluetoothDeviceInfo[] dev)
{
// dev[foundIndex];
bool paired=false;
paired = BluetoothSecurity.PairRequest(dev[foundIndex].DeviceAddress, "1166");
if (paired)
Console.WriteLine("Passed, Device is connected.");
else
Console.WriteLine("Failed....");
}
Here is the code called after connected to actually connect to the device: bc is my bluetooth client var.
bc.BeginConnect(devInfo[foundIndex].DeviceAddress, BluetoothService.SerialPort, new AsyncCallback(Connect), devInfo[foundIndex]);
private static void Connect(IAsyncResult result)
{
if (result.IsCompleted)
{
Console.Write("Connected... ");
}
}
Any help would be appreciated. I am new to 32feet.net so i dont know much about this, i tried following code online to get where im at.
Try BluetoothDeviceInfo.SetServiceState. That will ask Windows to connect to the audio service on the device -- hopefully that'll do the job.
See https://32feet.codeplex.com/wikipage?title=Connecting%20to%20Bluetooth%20Services
Sometimes we don’t want our application to itself send data to/from a remote service but we want instead the local operating system to do so. This is the case for keyboard/mouse/etc with HID, networking with DUN/NAP/PAN/etc, Headset/Handsfree etc.
and then
The short answer in this case is to use BluetoothDeviceInfo.SetServiceState. This is the API equivalent to manually checking the respective checkbox on the “Services” tab of the Device dialog in Bluetooth Control panel.
Also, in these days of Secure Simple Pairing, using PairRequest is fine only if all peer devices will use old style PIN code authentication, otherwise instantiate a BluetoothWin32Authentication and then do the connect (here indirectly via SetServiceState) and handle the authentication in the authentication callback.
i'm developing software to display ip camera "Acti", i tried to use axnvUnifiedControl but i cannot find any information about it.
my goal is to connect to the camera using IP, username, and password and display the camera image in windows form.
i'm using c# .net 4.0
This can be done using the following code snippet:
First you should reference the OCX in your toolbox, and drag it to your form. but i tried to use it in design mode, but the VS is hang and force close.
camMedia.MediaSource = CameraIP;
camMedia.MediaUsername = UserName;
camMedia.MediaPassword = Password;
camMedia.HttpPort = HttpPort;//80
camMedia.RegisterPort = RegisterPort;//6000
camMedia.ControlPort = ControlPort;//6001
camMedia.StreamingPort = StreamingPort;//6002
camMedia.Connect(0);
where the camMedia is the OCX object name.
ACTi has quite a wide range of cameras, and they do not share uniform API. You have to look for documentation for your model of interest and check the vendor's sample code and SDKs. The cameras also have some support for well known protocols, such as RTSP and M-JPEG over HTTP so you can leverage certain libraries to visualize the feed, but again you will need documentation, specification and SDKs to find out the essential information.