update the header for Doxygen
authorMinkyoung Kang <mklove.kang@samsung.com>
Thu, 28 Mar 2013 05:01:34 +0000 (14:01 +0900)
committerMinkyoung Kang <mklove.kang@samsung.com>
Thu, 28 Mar 2013 05:06:10 +0000 (14:06 +0900)
Change-Id: I0476ea409303e3869d0bee1fe93ad1ea6cba323b

inc/FUixVisionFaceComponentsPosition.h
inc/FUixVisionFaceDetector.h
inc/FUixVisionFaceRecognitionInfo.h
inc/FUixVisionFaceRecognizer.h
inc/FUixVisionFaceTypes.h

index 40dc438..e39aa93 100755 (executable)
@@ -45,11 +45,11 @@ namespace Tizen { namespace Uix { namespace Vision
  *
  * The %FaceComponentsPosition class encapsulates the extracted face component's information that is processed by the FaceDetector class.
  *
- * This class provides the following functionalities: @n
+ * This class provides the following functionalities:
  * - Getting/Setting the position of a face.
  * - Getting/Setting the position of the eyes.
  * - Getting/Setting the position of the mouth.
- * @n
+ * 
  * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/uix/face_detector_recognizer.htm">Face Detector and Recognizer</a>.
  */
 
@@ -59,11 +59,9 @@ class _OSP_EXPORT_ FaceComponentsPosition
 public:
        /**
         * This is the default constructor for this class. @n
-        * Initializes this instance of %FaceComponentsPosition with all its attributes set to @c -1.
+        * All values of the attributes are set to @c -1 when this instance is initialized.
         *
         * @since      2.0
-        *
-        * @remarks    The attributes are set to @c -1 when initialized.
         */
        FaceComponentsPosition(void);
 
@@ -98,33 +96,33 @@ public:
 
 
        /**
-        * Gets the position of the face.
+        * Gets the position of the face. @n
+        * The value of all the attributes is set to @c -1 if their value is not set to @c -1 during initialization.
         *
         * @since      2.0
         *
         * @return     The position of the face
-        * @remarks    The value of all the attributes is set to @c -1 if their value is not set to @c -1 during initialization.
-        */
+                */
        Tizen::Graphics::Rectangle GetFacePosition(void) const;
 
        /**
-        * Gets the position of the eyes.
+        * Gets the position of the eyes. @n
+        * The value of @c leftEyePos and @c rightEyePos is set to @c -1 if it is not set to @c -1 during initialization.
         *
         * @since         2.0
         *
         * @param[out]    leftEyePos     The eye position on the left
         * @param[out]    rightEyePos    The eye position on the right
-        * @remarks       The value of @c leftEyePos and @c rightEyePos is set to @c -1 if it is not set to @c -1 during initialization.
         */
        void GetEyePosition(Tizen::Graphics::Point& leftEyePos, Tizen::Graphics::Point& rightEyePos) const;
 
        /**
-        * Gets the position of the mouth.
+        * Gets the position of the mouth. @n
+        * The value of all the attributes is set to @c -1 if their value is not set to @c -1 during initialization.
         *
         * @since      2.0
         *
         * @return     The position of the mouth
-        * @remarks    The value of all the attributes is set to @c -1 if their value is not set to @c -1 during initialization.
         */
        Tizen::Graphics::Rectangle GetMouthPosition(void) const;
 
@@ -153,8 +151,7 @@ public:
         *                                This position can be obtained using the FaceDetector::ExtractFaceComponentsN() method.
         * @param[in]    rightEyePos      The eye position on the right @n
         *                                This position can be obtained using the FaceDetector::ExtractFaceComponentsN() method. @n
-        *                                The position of the eyes must be greater than or equal to @c 0. @n
-        *                                The position of @c rightEyePos must be greater than the position of @c leftEyePos.
+        *                                The position of the right eye must be greater than or equal to @c 0, and must be greater than the position of @c leftEyePos.
         * @exception    E_SUCCESS        The method is successful.
         * @exception    E_INVALID_ARG    A specified input parameter is invalid.
         */
@@ -177,7 +174,7 @@ public:
 
        /**
         * This is the copy constructor for the %FaceComponentsPosition class. @n
-        * Initializes this instance of %FaceComponentsPosition with the specified parameter.
+        * Initializes this instance of %FaceComponentsPosition with the specified parameter. @n
         * Copying of objects using this copy constructor is allowed.
         *
         * @since        2.0
index c58186a..383ca48 100644 (file)
@@ -133,7 +133,7 @@ class _OSP_EXPORT_ FaceDetector
 // Lifecycle
 public:
        /**
-        * This is the default constructor for this class.
+        * This is the default constructor for this class. @n
         * The object is not fully constructed after this constructor is called.
         * For full construction, the Construct() method must be called right after calling this constructor.
         *
@@ -288,13 +288,13 @@ public:
         * @param[in]    byteBuffer         The buffer containing the input image data
         * @param[in]    dim                The width and height of the input image @n
         *                                  Both the width and height must be greater than @c 0.
-        * @param[in]    format             The color format defined by Tizen::Graphics::BitmapPixelFormat
+        * @param[in]    format             The color format @n
+        *                                                      @c BITMAP_PIXEL_FORMAT_R8G8B8A8 is not applicable for this method.
         * @exception    E_SUCCESS          The method is successful.
         * @exception    E_INVALID_ARG      A specified input parameter is invalid.
         * @exception    E_OUT_OF_MEMORY    The memory is insufficient.
         * @exception    E_FAILURE          A system error has occurred.
-        * @remarks      The specific error code can be accessed using the GetLastResult() method.
-        * @remarks      BitmapPixelFormat::BITMAP_PIXEL_FORMAT_R8G8B8A8 is not applicable for this method.
+        * @remarks      The specific error code can be accessed using the GetLastResult() method.  
         */
        Tizen::Base::Collection::IList* DetectFacesFromStillImageN(const Tizen::Base::ByteBuffer& byteBuffer, const Tizen::Graphics::Dimension& dim, Tizen::Graphics::BitmapPixelFormat format);
 
@@ -316,7 +316,6 @@ public:
         * @exception    E_OUT_OF_MEMORY    The memory is insufficient.
         * @exception    E_SYSTEM           A system error has occurred.
         * @remarks      The specific error code can be accessed using the GetLastResult() method.
-        * @see          FaceBuffer
         */
        FaceBuffer* PreprocessDataN(const Tizen::Base::ByteBuffer& byteBuffer, const Tizen::Graphics::Dimension& dim, Tizen::Graphics::PixelFormat format);
 
@@ -362,13 +361,13 @@ public:
         * @exception    E_OPERATION_FAILED        The method has failed to extract the facial information, but there is no error reported. @n
         *                                         This happens when the detected faces are too small or the input data is not clear. This is the result of a normal operation.
         * @remarks      The specific error code can be accessed using the GetLastResult() method.
-        * @see          FaceComponentsPosition
         */
        FaceComponentsPosition* ExtractFaceComponentsN(const FaceBuffer& preprocessedFaceBuffer, const Tizen::Graphics::Rectangle& faceRect);
 
 
        /**
-        * Gets the position difference of the face.
+        * Gets the position difference of the face. @n
+        * This can be used for tracking the face from a sequential video data.
         *
         * @since         2.0
         *
@@ -390,7 +389,6 @@ public:
         *                                      It can happen when the detected faces are too small or two video data are different even if they contain the same face.
         *                                      This is the result of a normal operation.
         * @remarks       The specific error code can be accessed using the GetLastResult() method.
-        * @remarks       This can be used for tracking the face from a sequential video data.
         * @see           DetectFacesN()
         */
        result GetFaceMovement(const FaceBuffer& prevData, const FaceBuffer& curData, const Tizen::Graphics::Rectangle& prevFaceRect, int& xDiff, int& yDiff);
index 7a0e2f9..59cd8ad 100644 (file)
@@ -51,7 +51,7 @@ class _FaceRecognizerImpl;
  * The %FaceRecognitionInfo class encapsulates the information of a face recognized using the FaceRecognizer class by:
  * - Getting the position of a recognized face.
  * - Getting the facial features of a recognized face.
- * @n
+ * 
  * For more information on the class features, see <a href="../org.tizen.native.appprogramming/html/guide/uix/face_detector_recognizer.htm">Face Detector and Recognizer</a>.
  */
 
@@ -60,7 +60,7 @@ class _OSP_EXPORT_ FaceRecognitionInfo
 {
 public:
        /**
-        * This is the default constructor for this class.
+        * This is the default constructor for this class. @n
         * The object is not fully constructed after this constructor is called.
         * For full construction, the Construct() method must be called right after calling this constructor.
         *
@@ -88,7 +88,7 @@ public:
         * @exception    E_SUCCESS          The method is successful.
         * @exception    E_OUT_OF_MEMORY    The memory is insufficient.
         * @see          FaceRecognizer::ExtractFaceInfoFromVideoStreamN()
-        * @see          FaceRecognizer::ExtractFaceInfoFromStillImageN()
+        * @see          FaceRecognizer::ExtractFaceInfoFromStillImageN(const Tizen::Base::ByteBuffer&, const Tizen::Graphics::Dimension&, Tizen::Graphics::BitmapPixelFormat)
         */
        result Construct(const Tizen::Base::ByteBuffer& faceFeatures);
 
index e1a178a..a7fbd2d 100644 (file)
@@ -305,13 +305,13 @@ public:
         * @param[in]    byteBuffer         The buffer containing the input image data
         * @param[in]    dim                The width and height of the input image @n
         *                                  Both the width and height must be greater than @c 0.
-        * @param[in]    format             The color format defined by Tizen::Graphics::BitmapPixelFormat
+        * @param[in]    format             The color format @n
+        *                                                      @c BITMAP_PIXEL_FORMAT_R8G8B8A8 is not applicable for this method.
         * @exception    E_SUCCESS          The method is successful.
         * @exception    E_INVALID_ARG      A specified input parameter is invalid.
         * @exception    E_OUT_OF_MEMORY    The memory is insufficient.
         * @exception    E_FAILURE          A system error has occurred.
         * @remarks      The specific error code can be accessed using the GetLastResult() method.
-        * @remarks      BitmapPixelFormat::BITMAP_PIXEL_FORMAT_R8G8B8A8 is not applicable for this method.
         */
        Tizen::Base::Collection::IList* ExtractFaceInfoFromStillImageN(const Tizen::Base::ByteBuffer& byteBuffer, const Tizen::Graphics::Dimension& dim, Tizen::Graphics::BitmapPixelFormat format);
 
@@ -359,10 +359,12 @@ public:
         *               else @c null if an exception occurs
         * @param[in]    preprocessedFaceBuffer    The preprocessed data
         * @param[in]    faceComponentPos          The facial information that is obtained from the
-        *                                         ExtractFaceComponentsN() method @n
-        *                                         The @c faceComponentPos parameter must contain the eye position.
+        *                                         FaceDetector::ExtractFaceComponentsN() method @n
+        *                                         The specified facial information must contain the eye position. @n
         *                                         The position of the eyes must be greater than or equal to @c 0.
-        *                                         The position of the eyes must be within @c preprocessedFaceBuffer.
+        *                                         The position of the eyes must be within @c preprocessedFaceBuffer. @n
+        *                                                      If there are wrong values in the specified facial information, the result cannot be guaranteed even if it returns @c E_SUCCESS. @n
+        *                                                      Therefore, be sure not to change the value of facial information after getting it from FaceDetector::ExtractFaceComponentsN().
         * @exception    E_SUCCESS                 The method is successful.
         * @exception    E_INVALID_ARG             A specified input parameter is invalid.
         * @exception    E_OUT_OF_MEMORY           The memory is insufficient.
@@ -371,7 +373,6 @@ public:
         *                                         This can happen when the detected faces are too small or the input data is not clear.
         *                                         This is the result of a normal operation.
         * @remarks      The specific error code can be accessed using the GetLastResult() method.
-        * @remarks      If there are wrong values in the @c faceComponentPos, the result cannot be guaranteed even if it returns @c E_SUCCESS. Therefore, be sure not to change the value of @c faceComponentPos after getting it from ExtractFaceComponentsN().
         * @see          FaceDetector::PreprocessDataN()
         * @see          FaceDetector::ExtractFaceComponentsN()
         */
@@ -386,9 +387,11 @@ public:
         *               else @c EYE_STATE_NONE if an exception occurs
         * @param[in]    preprocessedFaceBuffer    The preprocessed data
         * @param[in]    faceComponentPos          The facial information that is obtained from the FaceDetector::ExtractFaceComponentsN() method @n
-        *                                         The @c faceComponentPos parameter must contain the eye position.
+        *                                         The specified facial information must contain the eye position. @n
         *                                         The position of the eyes must be greater than or equal to @c 0.
-        *                                         The position of the eyes must be within @c preprocessedFaceBuffer.
+        *                                         The position of the eyes must be within @c preprocessedFaceBuffer. @n
+        *                                                      If there are wrong values in the specified facial information, the result cannot be guaranteed even if it returns @c E_SUCCESS. @n
+        *                                                      Therefore, be sure not to change the value of facial information after getting it from FaceDetector::ExtractFaceComponentsN().   
         * @exception    E_SUCCESS                 The method is successful.
         * @exception    E_INVALID_ARG             A specified input parameter is invalid.
         * @exception    E_OUT_OF_MEMORY           The memory is insufficient.
@@ -397,8 +400,6 @@ public:
         *                                         This can happen when the detected faces are too small or the input data is not clear.
         *                                         This is the result of a normal operation.
         * @remarks      The specific error code can be accessed using the GetLastResult() method.
-        * @remarks      If there are wrong values in the @c faceComponentPos, the result cannot be guaranteed even if it returns @c E_SUCCESS.
-        *               Therefore, be sure not to change the value of @c faceComponentPos after getting it from ExtractFaceComponentsN().
         * @see          FaceDetector::PreprocessDataN()
         */
        EyeState GetEyeState(const FaceBuffer& preprocessedFaceBuffer, const FaceComponentsPosition& faceComponentPos);
@@ -412,9 +413,11 @@ public:
         *               else @c FACIAL_EXPRESSION_NONE if an exception occurs
         * @param[in]    preprocessedFaceBuffer    The preprocessed data
         * @param[in]    faceComponentPos          The facial information that is obtained from the FaceDetector::ExtractFaceComponentsN() method @n
-        *                                         The @c faceComponentPos parameter must contain the eye position.
+        *                                         The specified facial information must contain the eye position. @n
         *                                         The position of the eyes must be greater than or equal to @c 0.
-        *                                         The position of the eyes must be within @c preprocessedFaceBuffer.
+        *                                         The position of the eyes must be within @c preprocessedFaceBuffer. @n
+        *                                                      If there are wrong values in the specified facial information, the result cannot be guaranteed even if it returns @c E_SUCCESS. @n
+        *                                                      Therefore, be sure not to change the value of facial information after getting it from FaceDetector::ExtractFaceComponentsN().           
         * @exception    E_SUCCESS                 The method is successful.
         * @exception    E_INVALID_ARG             A specified input parameter is invalid.
         * @exception    E_OUT_OF_MEMORY           The memory is insufficient.
@@ -423,8 +426,6 @@ public:
         *                                         This can happen when the detected faces are too small or the input data is not clear.
         *                                         This is the result of a normal operation.
         * @remarks      The specific error code can be accessed using the GetLastResult() method.
-        * @remarks      If there are wrong values in the @c faceComponentPos, the result cannot be guaranteed even if it returns @c E_SUCCESS. Therefore,
-        *               be sure not to change the value of @c faceComponentPos after getting it from ExtractFaceComponentsN().
         * @see          FaceDetector::PreprocessDataN()
         */
        FacialExpression RecognizeExpression(const FaceBuffer& preprocessedFaceBuffer, const FaceComponentsPosition& faceComponentPos);
index 33c7a4e..077a5e1 100755 (executable)
@@ -48,7 +48,7 @@ enum FaceDetectorConfigProperty
 
        /**
         * The maximum number of faces to detect from a still image. @n
-        * This will be used when FaceDetector::DetectFacesFromStillImageN() is called.
+        * This will be used when FaceDetector::DetectFacesFromStillImageN(const Tizen::Base::ByteBuffer&, const Tizen::Graphics::Dimension&, Tizen::Graphics::BitmapPixelFormat) is called.
         */
        FACEDETECTOR_MAXNUMBER_IMAGE,
 
@@ -69,18 +69,18 @@ enum FaceDetectorConfigProperty
         * The range is from values @c 1 to @c 3, where the value @c 1 has the longest execution time and @c 3 has
         * the shortest execution time. The value @c 1 detects small faces.
         * Therefore, for an application handling images, the value @c 1 is an appropriate option.
-        * The value @c 1 is used when FaceDetector::DetectFacesFromStillImageN() is called unless it has been changed
+        * The value @c 1 is used when FaceDetector::DetectFacesFromStillImageN(const Tizen::Base::ByteBuffer&, const Tizen::Graphics::Dimension&, Tizen::Graphics::BitmapPixelFormat) is called unless it has been changed
         * earlier using the FaceDetector::SetProperty() method. @n
         *
-        * This will be used when %FaceDetector::DetectFacesFromStillImageN() is called.
+        * This will be used when %FaceDetector::DetectFacesFromStillImageN(const %Tizen::Base::ByteBuffer&, const %Tizen::Graphics::Dimension&, %Tizen::Graphics::BitmapPixelFormat) is called.
         */
        FACEDETECTOR_SCALE_IMAGE,
 
        /**
         * The maximum number of faces to detect. @n
-        * The value @c 1 is used when DetectFacesN() is called unless it has been changed earlier
+        * The value @c 1 is used when FaceDetector::DetectFacesN() is called unless it has been changed earlier
         * using the FaceDetector::SetProperty() method. @n
-        * This will be used when FaceDetector::DetectFacesN() is called.
+        * This will be used when %FaceDetector::DetectFacesN() is called.
         */
        FACEDETECTOR_MAXNUMBER_FACES,
 
@@ -116,7 +116,7 @@ enum FaceRecognizerConfigProperty
 
        /**
         * The maximum number of faces to extract face information from a still image. @n
-        * This will be used when FaceRecognizer::ExtractFaceInfoFromStillImageN() is called.
+        * This will be used when FaceRecognizer::ExtractFaceInfoFromStillImageN(const Tizen::Base::ByteBuffer&, const Tizen::Graphics::Dimension&, Tizen::Graphics::BitmapPixelFormat) is called.
         */
        FACERECOGNIZER_MAXNUMBER_IMAGE,
 
@@ -125,10 +125,10 @@ enum FaceRecognizerConfigProperty
         * The range is from values @c 1 to @c 3, where the value @c 1 has the longest execution time and @c 3 has
         * the shortest execution time. The value @c 1 detects small faces.
         * Therefore, for an application using a camera or a video file, the value @c 3 is an appropriate option.
-        * The value @c 3 is used when ExtractFaceInfoFromVideoStreamN() is called unless it has been changed
+        * The value @c 3 is used when FaceRecognizer::ExtractFaceInfoFromVideoStreamN() is called unless it has been changed
         * earlier using the FaceDetector::SetProperty() method. @n
         *
-        * This will be used when FaceRecognizer::ExtractFaceInfoFromVideoStreamN() is called.
+        * This will be used when %FaceRecognizer::ExtractFaceInfoFromVideoStreamN() is called.
         */
        FACERECOGNIZER_SCALE_VIDEO,
 
@@ -138,10 +138,10 @@ enum FaceRecognizerConfigProperty
         * the shortest execution time.
         * The value @c 1 detects small faces.
         * Therefore, for an application handling images, the value @c 1 is an appropriate option.
-        * The value @c 1 is used when ExtractFaceInfoFromStillImageN() is called unless it has been changed
+        * The value @c 1 is used when FaceRecognizer::ExtractFaceInfoFromStillImageN(const Tizen::Base::ByteBuffer&, const Tizen::Graphics::Dimension&, Tizen::Graphics::BitmapPixelFormat) is called unless it has been changed
         * earlier using the FaceDetector::SetProperty() method. @n
         *
-        * This will be used when FaceRecognizer::ExtractFaceInfoFromStillImageN() is called.
+        * This will be used when %FaceRecognizer::ExtractFaceInfoFromStillImageN(const %Tizen::Base::ByteBuffer&, const %Tizen::Graphics::Dimension&, %Tizen::Graphics::BitmapPixelFormat) is called.
         */
        FACERECOGNIZER_SCALE_IMAGE,
 };