Table of Contents

Method Write

Namespace
OpenCvSharp.Face
Assembly
OpenCvSharp.dll

Write(FileStorage)

Stores algorithm parameters in a file storage.

public override void Write(FileStorage fs)

Parameters

fs FileStorage

Remarks

Overrides the generic Algorithm.Write, which passes a cv::Algorithm* to the native side. cv::face::Facemark inherits Algorithm virtually, so a raw pointer obtained as FacemarkAAM* cannot be safely reinterpreted as Algorithm* on the managed side; this override calls write() with the pointer kept at its concrete native type instead.