class Input::Frames::FrameSource

Vision AI 작업의 입력 또는 출력으로 사용되는 이미지 프레임 데이터의 원본을 나타냅니다.

멤버

속성

구문: public FrameSourceProperties & Properties;

추가 FrameSource 속성의 컬렉션을 가져옵니다.

~FrameSource

구문: public inline virtual ~FrameSource ( );

FrameSource 클래스의 인스턴스를 소멸합니다.

GetWriter

구문: public inline std::shared_ptr< FrameWriter > GetWriter ( );

이 FrameSource 개체에 프레임 데이터를 쓰는 데 사용되는 FrameWriter를 가져옵니다.

반환

std::shared_ptr 내부에 래핑된 프레임 데이터를 작성하는 데 사용되는 FrameWriter

CloseWriter

구문: public inline void CloseWriter ( );

쓰기를 위해 프레임 원본을 닫습니다.

FromFormat

구문: public inline static std::shared_ptr< FrameSource > FromFormat ( const std::shared_ptr< FrameFormat > & format );

FrameSource 클래스의 새 인스턴스를 초기화합니다.

매개 변수

  • format FrameFormat::Create() 또는 이와 유사한 을 통해 가져온 FrameFormat

반환

std::shared_ptr 내부에 래핑된 새로 만든 FrameSource

FromFormat

구문: public inline static std::shared_ptr< FrameSource > FromFormat ( const std::shared_ptr< FrameFormat > & format , const CallbackFunction_Type callback );

FrameSource 클래스의 새 인스턴스를 초기화합니다.

매개 변수

  • format FrameFormat::Create() 또는 이와 유사한 을 통해 가져온 FrameFormat

  • callback Todo

반환

std::shared_ptr 내부에 래핑된 새로 만든 FrameSource

CallbackFunction_Type

구문: typedef CallbackFunction_Type;