PFrameToFrameTracker.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015-2018 Digital Barriers plc. All rights reserved.
3  * Contact: http://www.digitalbarriers.com/
4  *
5  * This file is part of the Papillon SDK.
6  *
7  * You can't use, modify or distribute any part of this file without
8  * the explicit written agreements of Digital Barriers.
9  */
10 
15 #pragma once
16 #include <PPluginInstance.h>
17 
18 PAPILLON_BEGIN_NAMESPACE
19 
20 
21 class PDetectionList;
22 class PFrame;
23 class PGuid;
24 class PPlugin;
25 class PProperties;
26 
27 
30 
39 class PAPILLON_API_CORE PFrameToFrameTracker : public PPluginInstance
40 {
41 public:
47  static PResult Create(const PString& productName, const PProperties& parameters, PFrameToFrameTracker& frameToFrameTracker);
48 
54  static PResult Create(const PPlugin& plugin, const PProperties& parameters, PFrameToFrameTracker& frameToFrameTracker);
55 
60 
65 
69  virtual ~PFrameToFrameTracker();
70 
75 
79  PResult Apply(const PFrame& frame, PDetectionList& detectionList);
80 };
81 
83 
84 PAPILLON_END_NAMESPACE
PPluginInstance & operator=(const PPluginInstance &other)
Performs a shared copy of other to this object.
The PString class provides an Unicode character strings.
Definition: PString.h:37
The PFrame class represents any 2D-image (RGB, gray-scale, ...) with a container of additional data p...
Definition: PFrame.h:50
The PDetectionList class represents nothing more than a collection of detections (PDetection), Typically PDetectionList&#39;s are returned from a PDetector.
The PResult class represents the result returned by most of Papillon functions; this class is used to...
Definition: PResult.h:159
The PProperties class represents a container of properties; each property has a name (PString) and a ...
Definition: PProperties.h:38
The PPlugin class represents a Papillon plugin (input video source, detector, describer, ...); thread-safe.
Definition: PPlugin.h:45
The PFrameToFrameTracker class represents a process that tracks, frame by frame, generic objects; not...
Class PPluginInstance: super class for PAnalytics, PDetector, PDescriber, etc.
The PPluginInstance class is the super class for PAnalytics, PDetector, PDescriber which handle the d...
The PGuid class represents a Globally Unique Identifier (GUID); PGuid instances are immutable (thread...
Definition: PGuid.h:28
PResult Create(const PPlugin &plugin, const PProperties &parameters, const PString &parametersPrefix)
Create an instance from the specified plugin with the specified parameters.