23 lines
506 B
C
23 lines
506 B
C
|
//
|
||
|
// Frame.h
|
||
|
// VisionCamera
|
||
|
//
|
||
|
// Created by Marc Rousavy on 15.03.21.
|
||
|
// Copyright © 2021 mrousavy. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#import <CoreMedia/CMSampleBuffer.h>
|
||
|
#import <UIKit/UIImage.h>
|
||
|
|
||
|
@interface Frame : NSObject
|
||
|
|
||
|
- (instancetype) initWithBuffer:(CMSampleBufferRef)buffer orientation:(UIImageOrientation)orientation;
|
||
|
|
||
|
@property (nonatomic, readonly) CMSampleBufferRef buffer;
|
||
|
@property (nonatomic, readonly) UIImageOrientation orientation;
|
||
|
|
||
|
@end
|