Name: csapi-multimedia
Summary: Tizen Multimedia API for C#
-Version: 1.0.26
+Version: 1.0.27
Release: 0
Group: Development/Libraries
License: Apache-2.0
tcsBarcodeList.TrySetException(new InvalidOperationException("Failed to set result"));
}
}
- catch(Exception ex)
+ catch (Exception ex)
{
Log.Info(MediaVisionLog.Tag, "exception :" + ex.ToString());
tcsBarcodeList.TrySetException(ex);
/// <param name="config">The configuration of the bar code generator engine</param>
/// <param name="message">The message to be encoded in the barcode</param>
/// <param name="type">Type of the barcode to be generated</param>
- /// <param name="source">The media vision source object which will be used to fill by the buffer with generated image</param>
/// <param name="qrConfig">The QrConfig object - required for QR codes only</param>
+ /// <returns>
+ /// <param name="source">The media vision source object which will be used to fill by the buffer with generated image</param>
+ /// </returns>
/// <code>
///
/// </code>
{
throw new ArgumentException("Invalid source");
}
+
TaskCompletionSource<FaceDetectionResult> tcsResult = new TaskCompletionSource<FaceDetectionResult>();
// Define native callback
Interop.MediaVision.Face.MvFaceDetectedCallback faceDetectedCb = (IntPtr sourceHandle, IntPtr engineCfgHandle, IntPtr facesLocations, int numberOfFaces, IntPtr userData) =>
/// Adds face image example to be used for face recognition model learning with <see cref="Learn()"/>.
/// </summary>
/// <param name="source">Source that contains face image</param>
- /// <param name="location">The rectangular location of the face image at the source image.</param>
/// <param name="faceLabel">The label that identifies face for which example is adding. Specify the same labels for the face images of a single person when calling this method. Has to be unique for each face</param>
+ /// <param name="location">The rectangular location of the face image at the source image.</param>
/// <code>
///
/// </code>
get
{
int label = 0;
- MediaVisionError ret = (MediaVisionError) Interop.MediaVision.Image.GetLabel(_imageObjectHandle, out label);
+ MediaVisionError ret = (MediaVisionError)Interop.MediaVision.Image.GetLabel(_imageObjectHandle, out label);
if (ret != MediaVisionError.None)
{
Tizen.Log.Error(MediaVisionLog.Tag, "Failed to get label");
get
{
double rate = 0;
- MediaVisionError ret = (MediaVisionError) Interop.MediaVision.Image.GetRecognitionRate(_imageObjectHandle, out rate);
+ MediaVisionError ret = (MediaVisionError)Interop.MediaVision.Image.GetRecognitionRate(_imageObjectHandle, out rate);
if (ret != MediaVisionError.None)
{
Tizen.Log.Error(MediaVisionLog.Tag, "Failed to get recognition rate, error : " + ret);