When I use VeriLook Surveillance SDK, I do not want to directly use the camera images, I can separately take anface image as a template AddToWatchList , and then the camera to identify , if so, then what we have to write this code, I use C #,
- Code: Select all
private void buttonAddToWatchList_Click(object sender, EventArgs e)
{
TreeNode selected = treeView.SelectedNode;
SubjectInfo si = (SubjectInfo)selected.Tag;
AddToWatchListForm addForm = new AddToWatchListForm();
if (addForm.ShowDialog(si) == DialogResult.OK)
{
if (addForm.SubjectId != String.Empty)
{
try
{
byte[] features = si.Template.Save();
surveillance.AddTemplate(features, addForm.SubjectId);
If I were to use a new picture, how do I get the "byte[] features ="?
