QEPixelBufferData

@interface QEPixelBufferData : NSObject

/****
 * The CVPixelBuffer that you want to process.
 */
@property (nonatomic, assign) CVPixelBufferRef bufferIn;

/****
 * The processed CVPixelBuffer will be placed here.
 */
@property (nonatomic, assign) CVPixelBufferRef bufferOut;

/****
 * Specifies the rotation angle of the bufferIn by which the face/body (if any) in the bufferIn needs to be rotated clockwise to the frontal face/body. Examples are 0/90/180/270, default is 0.
 * Note: Only takes effect if QueenEngineConfigInfo's member variable autoSettingImgAngle is set to NO.
 */
@property (nonatomic, assign) size_t inputAngle;

/****
 * Specifies the rotation angle by which the detected frontal face/body needs to be rotated counterclockwise. Examples are 0/90/180/270, default is 0.
 * Note: Only takes effect if QueenEngineConfigInfo's member variable autoSettingImgAngle is set to NO. In general, the value set should be consistent with the inputAngle, so that the coordinate position of the recognized face/human body result fits the original image.
 */
@property (nonatomic, assign) size_t outputAngle;

/****
 * The direction in which the detected face/body coordinates need to be flipped, the default value is kQueenBeautyFlipAxisNone.
 */
@property (nonatomic, assign) kQueenBeautyFlipAxis outputFlipAxis;

/****
 * The CMSampleBuffer that you want to process.
 */
@property (nonatomic, assign) CMSampleBufferRef sampleBufferIn;

@end

Undocumented

  • The CVPixelBuffer that you want to process.

    Declaration

    Objective-C

    @property (nonatomic) CVPixelBufferRef bufferIn;
  • The processed CVPixelBuffer will be placed here.

    Declaration

    Objective-C

    @property (nonatomic) CVPixelBufferRef bufferOut;
  • Specifies the rotation angle of the bufferIn by which the face/body (if any) in the bufferIn needs to be rotated clockwise to the frontal face/body. Examples are 0/90/180/270, default is 0. Note: Only takes effect if QueenEngineConfigInfo’s member variable autoSettingImgAngle is set to NO.

    Declaration

    Objective-C

    @property (nonatomic) size_t inputAngle;
  • Specifies the rotation angle by which the detected frontal face/body needs to be rotated counterclockwise. Examples are 0/90/180/270, default is 0. Note: Only takes effect if QueenEngineConfigInfo’s member variable autoSettingImgAngle is set to NO. In general, the value set should be consistent with the inputAngle, so that the coordinate position of the recognized face/human body result fits the original image.

    Declaration

    Objective-C

    @property (nonatomic) size_t outputAngle;
  • The direction in which the detected face/body coordinates need to be flipped, the default value is kQueenBeautyFlipAxisNone.

    Declaration

    Objective-C

    @property (nonatomic) kQueenBeautyFlipAxis outputFlipAxis;
  • The CMSampleBuffer that you want to process.

    Declaration

    Objective-C

    @property (nonatomic) CMSampleBufferRef sampleBufferIn;