V3.0.0 (04/2016)

SDK version v3.0.0.0: release notes

Main Changes:

  • Performance improvement on image processing (up to 2x faster)
  • Add Gender Classification (ref plugin_faceMetaDataDescriber)
  • Add LACE (LACE (Local Contrast Enhancement)) and Stabilisation (Stabilisation) for Linux
  • Add FaceLog2 (FaceLog2 (DEPRECATED, favour FaceLog6)) and FaceDNN describer
  • Face Recognition now relies on Deep Neural Networks to improve performance
  • New face detector (FaceDetector2)
  • API simplification
  • Better documentation and examples
  • Easier integration using a more compact distribution
  • Now available for Windows x64
  • Add support for Visual Studio 2015

API Changes:

  • papillon::PapillonSDK : Initialise() do not take the application name as first parameter anymore Just call PapillonSDK::Initialise([[optional flags]]) rather than PapillonSDK::Initialise(argv[0], [[optional flags]]).
  • papillon::PAnalytics : GetProperties() renamed to GetParameters()
  • papillon::PDetectorOptions : MinDetectionSize set to 80x80 by default (previously 20x20)
  • papillon::PEvent : Can now be inherited to support specific events
  • papillon::PEvent : some renaming for consistency:
    • GetEventType() renamed to GetType()
    • SetEventType() renamed to SetType()
    • GetEventAnnotation() renamed to GetAnnotation()
    • SetEventAnnotation() renamed to SetAnnotation()
    • GetEventComposition() renamed to GetComposition()
    • SetEventComposition renamed to SetComposition()
    • GetEventSource() renamed to GetSource()
    • SetEventSource() renamed to SetSource()
    • GetEventCertainty renamed to GetCertainty()
    • SetEventCertainty() renamed to SetCertainty()
  • papillon::PInputVideoStream : HasLength() has been removed
  • papillon::PObjectType : FromString() now return a const reference
  • papillon::PMath : LERP() and Clamp() are now pure functions which return values
  • papillon::PProperties : can now be inherited to support specific parameter classes and simnplify video analytics algorithm configuration

API News:

  • papillon::PDetection : add GetFaceRectangle(), GetFeaturePoints(), GetFeatureRectangles()
  • papillon::PInputVideoStream : add GoToFrame(), GetNumberOfFrames(), GetResolution(), GetFrameratePerSecond(), GetCurrentFrameNumber()
  • papillon::PFeatureMap : add GetCentreOfMass(), GetFaceRectangle(), GetFeaturePoints(), GetFeatureRectangles()
  • papillon::PFeaturePoint : add operator==, opeator!=
  • papillon::PFeatureRectangle : add operator==, opeator!=
  • papillon::PFile : add Zip(), Unzip()
  • papillon::PHttpRequest : new class to easily write http clients
  • papillon::PHttpResponse : new class to easily write http clients
  • papillon::PImage : add Crop(), Blur()
  • papillon::PList : add PList<PFeaturePoint> and PList<PFeatureRectangle>
  • papillon::PLog : add GetConsoleLevel(), SetConsoleLevel(), SetConsoleFormat(), CloseConsole()
  • papillon::PObjectType : add GetType(), IsPerson(), IsMotion(), IsFaceMetaData()
  • papillon::PPath : add GetApplicationName(), GetApplicationDirectory()
  • papillon::PMap : add GetValueList()
  • papillon::PPoint2Df : add IsBad()
  • papillon::PProcess : new class to easily manage and spawn processes
  • papillon::PRectanglef : add GetOrigin(), Scaled() and Normalized()
  • papillon::PRectanglei : add GetOrigin()
  • papillon::PResult : add some new error codes + some helpers
  • papillon::PSizei : add ToSizef()
  • papillon::PSizef : add ToSizei()
  • papillon::PSocket : add GetBoundAddress(), GetBoundPort()
  • papillon::PString : add Unquote(), AddLineNumbers()

Bug Fixed:

  • C# wrapper : fix PInputVideoStream::GetDouble()
  • papillon::PEvent : fix empty constructor, fix ToString()
  • papillon::PMapIterator : add const to HasNext(), GetValue() and GetKey()
  • papillon::PVersion : fix PVersion(int,int,int,int), PVersion(const PString&) and Set(): now set to "0.0.0.0" if failure
  • plugin enhanceBrightness : fix Apply(): source image was modified
  • plugin safeZoneEdge2d : fix parameter issues
  • Add missing demo license for "profileFaceDetector" plugin

Performance improvement:

  • Major performance improvement on basic image processing (up to 2x faster)
  • New face detector (FaceDetector2) is 2x to 3x faster than FaceDetector

Documentation:

  • Lot's of fixes and improvements
  • How to write your own input video source plugin?

Plugins: