2021-06-09 10:57:05 +02:00
|
|
|
//
|
|
|
|
// Frame.h
|
|
|
|
// VisionCamera
|
|
|
|
//
|
|
|
|
// Created by Marc Rousavy on 15.03.21.
|
|
|
|
// Copyright © 2021 mrousavy. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#import <CoreMedia/CMSampleBuffer.h>
|
2023-09-01 12:58:32 +02:00
|
|
|
#import <Foundation/Foundation.h>
|
2021-06-09 10:57:05 +02:00
|
|
|
#import <UIKit/UIImage.h>
|
|
|
|
|
|
|
|
@interface Frame : NSObject
|
|
|
|
|
2023-09-01 19:39:25 +02:00
|
|
|
- (instancetype _Nonnull)initWithBuffer:(CMSampleBufferRef _Nonnull)buffer orientation:(UIImageOrientation)orientation;
|
2021-06-09 10:57:05 +02:00
|
|
|
|
2023-09-01 12:58:32 +02:00
|
|
|
@property(nonatomic, readonly) CMSampleBufferRef _Nonnull buffer;
|
|
|
|
@property(nonatomic, readonly) UIImageOrientation orientation;
|
2021-06-09 10:57:05 +02:00
|
|
|
|
|
|
|
@end
|