Initial work on using Apple's Vision framework to OCR subtitles
This commit is contained in:
6 files changed
+116
-13
No files matched your search
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// MP42VisionOCR.h
|
||||
// MP42Foundation
|
||||
//
|
||||
// Created by Damiano Galassi on 29/09/2026.
|
||||
// Copyright © 2026 Damiano Galassi. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import "MP42TextRecognizer.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
API_AVAILABLE(macos(13))
|
||||
@interface MP42VisionOCR : NSObject<MP42TextRecognizer>
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in new issue
Block a user