Documentation ¶
Index ¶
- type AnalyticsArgs
- type AnalyticsResolver
- func (a *AnalyticsResolver) BlockLevel(ctx context.Context) ([]*BlockLevelResolver, error)
- func (a *AnalyticsResolver) DebugInfo(ctx context.Context) (string, error)
- func (a *AnalyticsResolver) Id(ctx context.Context) (string, error)
- func (a *AnalyticsResolver) Keyword(ctx context.Context) (string, error)
- func (a *AnalyticsResolver) MetaInfo(ctx context.Context) (*MetaInfoResolver, error)
- func (a *AnalyticsResolver) SecondLevel(ctx context.Context) ([]*SecondLevelResolver, error)
- func (a *AnalyticsResolver) SessionLevel(ctx context.Context) (*SessionLevelResolver, error)
- type AudioFrameResolver
- func (f *AudioFrameResolver) Audio(ctx context.Context) (*AudioResolver, error)
- func (f *AudioFrameResolver) Channel(ctx context.Context) (string, error)
- func (f *AudioFrameResolver) FrameNumber(ctx context.Context) (int32, error)
- func (f *AudioFrameResolver) Timestamp(ctx context.Context) (*TimeResolver, error)
- type AudioInferenceResolver
- type AudioResolver
- func (a *AudioResolver) Amplitude(ctx context.Context) (float64, error)
- func (a *AudioResolver) Inference(ctx context.Context) (*AudioInferenceResolver, error)
- func (a *AudioResolver) MelFrequency(ctx context.Context) ([][]float64, error)
- func (a *AudioResolver) MfccFeatures(ctx context.Context) ([][]float64, error)
- func (a *AudioResolver) PolyFeatures(ctx context.Context) ([][]float64, error)
- type BlockAudioAnalysisResolver
- func (s *BlockAudioAnalysisResolver) ObjectFraction(ctx context.Context) (*float64, error)
- func (s *BlockAudioAnalysisResolver) SilenceFraction(ctx context.Context) (*float64, error)
- func (s *BlockAudioAnalysisResolver) SingleSpeakerFraction(ctx context.Context) (*float64, error)
- func (s *BlockAudioAnalysisResolver) TeacherActivityFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockAudioAnalysisResolver) TeacherActivityTimes(ctx context.Context) (*[][][]*int32, error)
- func (s *BlockAudioAnalysisResolver) TeacherActivityType(ctx context.Context) (*[]*string, error)
- func (s *BlockAudioAnalysisResolver) TeacherOnlyFraction(ctx context.Context) (*float64, error)
- type BlockGazeAnalysisResolver
- type BlockInfoResolver
- type BlockInstructorGazeResolver
- func (s *BlockInstructorGazeResolver) GazeCategory(ctx context.Context) (*string, error)
- func (s *BlockInstructorGazeResolver) LongestCategoryFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockInstructorGazeResolver) PitchMean(ctx context.Context) (*float64, error)
- func (s *BlockInstructorGazeResolver) PitchVariance(ctx context.Context) (*float64, error)
- func (s *BlockInstructorGazeResolver) PrincipalGaze(ctx context.Context) (*PrincipalGazeResolver, error)
- func (s *BlockInstructorGazeResolver) RollMean(ctx context.Context) (*float64, error)
- func (s *BlockInstructorGazeResolver) RollVariance(ctx context.Context) (*float64, error)
- func (s *BlockInstructorGazeResolver) TotalCategoryFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockInstructorGazeResolver) YawMean(ctx context.Context) (*float64, error)
- func (s *BlockInstructorGazeResolver) YawVariance(ctx context.Context) (*float64, error)
- type BlockInstructorLocationResolver
- func (s *BlockInstructorLocationResolver) CategoryFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockInstructorLocationResolver) LocationCategory(ctx context.Context) (*[]*string, error)
- func (s *BlockInstructorLocationResolver) LongestBoardFraction(ctx context.Context) (*float64, error)
- func (s *BlockInstructorLocationResolver) LongestCategoryFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockInstructorLocationResolver) LongestMovingFraction(ctx context.Context) (*float64, error)
- func (s *BlockInstructorLocationResolver) LongestPodiumFraction(ctx context.Context) (*float64, error)
- func (s *BlockInstructorLocationResolver) LongestStayFraction(ctx context.Context) (*float64, error)
- func (s *BlockInstructorLocationResolver) PrincipalMovement(ctx context.Context) (*PrincipalMovementResolver, error)
- func (s *BlockInstructorLocationResolver) StayAtLocation(ctx context.Context) (*[][]*int32, error)
- func (s *BlockInstructorLocationResolver) StayAtLocationTimes(ctx context.Context) (*[][]*float64, error)
- func (s *BlockInstructorLocationResolver) TotalBoardFraction(ctx context.Context) (*float64, error)
- func (s *BlockInstructorLocationResolver) TotalMovingFraction(ctx context.Context) (*float64, error)
- func (s *BlockInstructorLocationResolver) TotalPodiumFraction(ctx context.Context) (*float64, error)
- type BlockInstructorPostureResolver
- func (s *BlockInstructorPostureResolver) HandPostureCategory(ctx context.Context) (*[]*string, error)
- func (s *BlockInstructorPostureResolver) HandPostureCategoryFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockInstructorPostureResolver) HeadPostureCategory(ctx context.Context) (*[]*string, error)
- func (s *BlockInstructorPostureResolver) HeadPostureCategoryFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockInstructorPostureResolver) MeanCentroidFaceDistance(ctx context.Context) (*float64, error)
- func (s *BlockInstructorPostureResolver) StandingFraction(ctx context.Context) (*float64, error)
- func (s *BlockInstructorPostureResolver) VarCentroidFaceDistance(ctx context.Context) (*float64, error)
- type BlockLevelResolver
- func (s *BlockLevelResolver) Audio(ctx context.Context) (*BlockAudioAnalysisResolver, error)
- func (s *BlockLevelResolver) BlockInfo(ctx context.Context) (*BlockInfoResolver, error)
- func (s *BlockLevelResolver) CrossModal(ctx context.Context) (*string, error)
- func (s *BlockLevelResolver) Gaze(ctx context.Context) (*BlockGazeAnalysisResolver, error)
- func (s *BlockLevelResolver) Location(ctx context.Context) (*BlockLocationAnalysisResolver, error)
- func (s *BlockLevelResolver) Posture(ctx context.Context) (*BlockPostureAnalysisResolver, error)
- type BlockLocationAnalysisResolver
- type BlockPostureAnalysisResolver
- type BlockStudentGazeResolver
- func (s *BlockStudentGazeResolver) DirectionMean(ctx context.Context) (*[][]*float64, error)
- func (s *BlockStudentGazeResolver) DirectionVariation(ctx context.Context) (*[][]*float64, error)
- func (s *BlockStudentGazeResolver) GazeCategory(ctx context.Context) (*[]*string, error)
- func (s *BlockStudentGazeResolver) Id(ctx context.Context) (*[]*int32, error)
- func (s *BlockStudentGazeResolver) LongestCategoryFraction(ctx context.Context) (*[][]*float64, error)
- func (s *BlockStudentGazeResolver) LookingDownFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentGazeResolver) LookingFrontFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentGazeResolver) NumOccurencesInBlock(ctx context.Context) (*[]*int32, error)
- func (s *BlockStudentGazeResolver) PitchMean(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentGazeResolver) PitchVariance(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentGazeResolver) RollMean(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentGazeResolver) RollVariance(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentGazeResolver) TotalCategoryFraction(ctx context.Context) (*[][]*float64, error)
- func (s *BlockStudentGazeResolver) TowardsInstructorFraction(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentGazeResolver) YawMean(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentGazeResolver) YawVariance(ctx context.Context) (*[]*float64, error)
- type BlockStudentLocationResolver
- func (s *BlockStudentLocationResolver) ClusterCenters(ctx context.Context) (*[][]*float64, error)
- func (s *BlockStudentLocationResolver) ClusterCount(ctx context.Context) (*int32, error)
- func (s *BlockStudentLocationResolver) ClusterStudentIds(ctx context.Context) (*[][]*int32, error)
- func (s *BlockStudentLocationResolver) Id(ctx context.Context) (*[]*int32, error)
- func (s *BlockStudentLocationResolver) IsSettled(ctx context.Context) (*[]*bool, error)
- func (s *BlockStudentLocationResolver) MaxBodyEntropy(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentLocationResolver) MaxHeadEntropy(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentLocationResolver) MeanBodyEntropy(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentLocationResolver) MeanHeadEntropy(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentLocationResolver) NumOccurrencesInBlock(ctx context.Context) (*[]*int32, error)
- func (s *BlockStudentLocationResolver) SeatingArrangement(ctx context.Context) (*string, error)
- func (s *BlockStudentLocationResolver) StayCoordinates(ctx context.Context) (*[][]*int32, error)
- func (s *BlockStudentLocationResolver) VarBodyEntropy(ctx context.Context) (*[]*float64, error)
- func (s *BlockStudentLocationResolver) VarHeadEntropy(ctx context.Context) (*[]*float64, error)
- type BlockStudentPostureResolver
- func (s *BlockStudentPostureResolver) BodyPostureCategory(ctx context.Context) (*[]*string, error)
- func (s *BlockStudentPostureResolver) BodyPostureCategoryFraction(ctx context.Context) (*[][]*float64, error)
- func (s *BlockStudentPostureResolver) HandPostureCategory(ctx context.Context) (*[]*string, error)
- func (s *BlockStudentPostureResolver) HandPostureCategoryFraction(ctx context.Context) (*[][]*float64, error)
- func (s *BlockStudentPostureResolver) HeadPostureCategory(ctx context.Context) (*[]*string, error)
- func (s *BlockStudentPostureResolver) HeadPostureCategoryFraction(ctx context.Context) (*[][]*float64, error)
- func (s *BlockStudentPostureResolver) Id(ctx context.Context) (*[]*int32, error)
- func (s *BlockStudentPostureResolver) IsStandingFraction(ctx context.Context) (*[]*bool, error)
- func (s *BlockStudentPostureResolver) NumOccurrencesInBlock(ctx context.Context) (*[]*int32, error)
- type ClassroomResolver
- func (s *ClassroomResolver) BlackboardBoundary(ctx context.Context) ([][]float64, error)
- func (s *ClassroomResolver) Building(ctx context.Context) (string, error)
- func (s *ClassroomResolver) CourseList(ctx context.Context) ([][]string, error)
- func (s *ClassroomResolver) Dimensions(ctx context.Context) ([]float64, error)
- func (s *ClassroomResolver) DimensionsScale(ctx context.Context) (string, error)
- func (s *ClassroomResolver) Floor(ctx context.Context) (string, error)
- func (s *ClassroomResolver) FrontCameraIP(ctx context.Context) (string, error)
- func (s *ClassroomResolver) FrontCameraModel(ctx context.Context) (string, error)
- func (s *ClassroomResolver) NumberOfSeats(ctx context.Context) (int32, error)
- func (s *ClassroomResolver) NumberOfWindows(ctx context.Context) (int32, error)
- func (s *ClassroomResolver) PodiumBoundary(ctx context.Context) ([][]float64, error)
- func (s *ClassroomResolver) ProjectorBoundary(ctx context.Context) ([][]float64, error)
- func (s *ClassroomResolver) RearCameraIP(ctx context.Context) (string, error)
- func (s *ClassroomResolver) RearCameraModel(ctx context.Context) (string, error)
- func (s *ClassroomResolver) Room(ctx context.Context) (string, error)
- type CourseResolver
- func (s *CourseResolver) ClassID(ctx context.Context) (string, error)
- func (s *CourseResolver) InitialEnrollment(ctx context.Context) (int32, error)
- func (s *CourseResolver) Instructors(ctx context.Context) ([][]string, error)
- func (s *CourseResolver) LectureType(ctx context.Context) (string, error)
- func (s *CourseResolver) Section(ctx context.Context) (string, error)
- func (s *CourseResolver) Semester(ctx context.Context) (string, error)
- func (s *CourseResolver) TeachingAssistants(ctx context.Context) ([][]string, error)
- func (s *CourseResolver) Year(ctx context.Context) (int32, error)
- type FaceResolver
- type FrameArgs
- type FrameNumberQuery
- type FrameNumberQueryFilter
- type HeadResolver
- func (h *HeadResolver) GazeVector(ctx context.Context) (*[][]int32, error)
- func (h *HeadResolver) Pitch(ctx context.Context) (float64, error)
- func (h *HeadResolver) Roll(ctx context.Context) (float64, error)
- func (h *HeadResolver) TranslationVector(ctx context.Context) (*[]float64, error)
- func (h *HeadResolver) Yaw(ctx context.Context) (float64, error)
- type MetaInfoResolver
- func (m *MetaInfoResolver) AnalysisStartTime(ctx context.Context) (int32, error)
- func (m *MetaInfoResolver) FailureModules(ctx context.Context) ([]string, error)
- func (m *MetaInfoResolver) ModuleRuntime(ctx context.Context) ([]float64, error)
- func (m *MetaInfoResolver) PipelineVersion(ctx context.Context) (string, error)
- func (m *MetaInfoResolver) RunModules(ctx context.Context) ([]string, error)
- func (m *MetaInfoResolver) SuccessModules(ctx context.Context) ([]string, error)
- func (m *MetaInfoResolver) TotalRuntime(ctx context.Context) (float64, error)
- type PersonInferenceResolver
- func (vi *PersonInferenceResolver) Face(ctx context.Context) (*FaceResolver, error)
- func (vi *PersonInferenceResolver) Head(ctx context.Context) (*HeadResolver, error)
- func (vi *PersonInferenceResolver) Posture(ctx context.Context) (*PostureResolver, error)
- func (vi *PersonInferenceResolver) TrackingID(ctx context.Context) (*int32, error)
- type PersonResolver
- func (p *PersonResolver) Body(ctx context.Context) (*[]int32, error)
- func (p *PersonResolver) Face(ctx context.Context) (*[]int32, error)
- func (p *PersonResolver) Hand(ctx context.Context) (*[]int32, error)
- func (p *PersonResolver) Inference(ctx context.Context) (*PersonInferenceResolver, error)
- func (p *PersonResolver) OpenposeID(ctx context.Context) (*int32, error)
- type PostureResolver
- type PrincipalGazeResolver
- type PrincipalMovementResolver
- type QueryResolver
- func (q QueryResolver) Analytics(ctx context.Context, args AnalyticsArgs) ([]*AnalyticsResolver, error)
- func (q QueryResolver) Classrooms(ctx context.Context) ([]*ClassroomResolver, error)
- func (q QueryResolver) Courses(ctx context.Context) ([]*CourseResolver, error)
- func (q QueryResolver) Sessions(ctx context.Context, args SessionArgs) ([]*SessionResolver, error)
- type SecondAudioAnalysisResolver
- func (s *SecondAudioAnalysisResolver) IsObjectNoise(ctx context.Context) (*bool, error)
- func (s *SecondAudioAnalysisResolver) IsSilence(ctx context.Context) (*bool, error)
- func (s *SecondAudioAnalysisResolver) IsSingleSpeaker(ctx context.Context) (*bool, error)
- func (s *SecondAudioAnalysisResolver) IsTeacherOnly(ctx context.Context) (*bool, error)
- type SecondGazeAnalysisResolver
- type SecondInfoResolver
- type SecondInstructorGazeResolver
- func (s *SecondInstructorGazeResolver) Angle(ctx context.Context) (*float64, error)
- func (s *SecondInstructorGazeResolver) AngleChange(ctx context.Context) (*float64, error)
- func (s *SecondInstructorGazeResolver) CountStudentsInGaze(ctx context.Context) (*int32, error)
- func (s *SecondInstructorGazeResolver) Direction(ctx context.Context) (*string, error)
- func (s *SecondInstructorGazeResolver) LookingDown(ctx context.Context) (*bool, error)
- func (s *SecondInstructorGazeResolver) TowardsStudents(ctx context.Context) (*bool, error)
- func (s *SecondInstructorGazeResolver) ViewingSectorThreshold(ctx context.Context) (*float64, error)
- type SecondInstructorLocationResolver
- func (s *SecondInstructorLocationResolver) AtBoard(ctx context.Context) (*bool, error)
- func (s *SecondInstructorLocationResolver) AtPodium(ctx context.Context) (*bool, error)
- func (s *SecondInstructorLocationResolver) HeadEntropy(ctx context.Context) (*float64, error)
- func (s *SecondInstructorLocationResolver) IsMoving(ctx context.Context) (*bool, error)
- func (s *SecondInstructorLocationResolver) LocationCategory(ctx context.Context) (*string, error)
- func (s *SecondInstructorLocationResolver) LocationCoordinates(ctx context.Context) (*[]*int32, error)
- func (s *SecondInstructorLocationResolver) LocationEntropy(ctx context.Context) (*float64, error)
- type SecondInstructorPostureResolver
- func (s *SecondInstructorPostureResolver) CentroidFaceDistance(ctx context.Context) (*float64, error)
- func (s *SecondInstructorPostureResolver) CentroidFaceDistanceAbsolute(ctx context.Context) (*float64, error)
- func (s *SecondInstructorPostureResolver) HandPosture(ctx context.Context) (*string, error)
- func (s *SecondInstructorPostureResolver) HeadPosture(ctx context.Context) (*string, error)
- func (s *SecondInstructorPostureResolver) IsPointing(ctx context.Context) (*bool, error)
- func (s *SecondInstructorPostureResolver) IsStanding(ctx context.Context) (*bool, error)
- func (s *SecondInstructorPostureResolver) PointingDirection(ctx context.Context) (*[]*float64, error)
- type SecondLevelResolver
- func (s *SecondLevelResolver) Audio(ctx context.Context) (*SecondAudioAnalysisResolver, error)
- func (s *SecondLevelResolver) CrossModal(ctx context.Context) (*string, error)
- func (s *SecondLevelResolver) Gaze(ctx context.Context) (*SecondGazeAnalysisResolver, error)
- func (s *SecondLevelResolver) Location(ctx context.Context) (*SecondLocationAnalysisResolver, error)
- func (s *SecondLevelResolver) Posture(ctx context.Context) (*SecondPostureAnalysisResolver, error)
- func (s *SecondLevelResolver) SecondInfo(ctx context.Context) (*SecondInfoResolver, error)
- type SecondLocationAnalysisResolver
- type SecondPostureAnalysisResolver
- type SecondStudentGazeResolver
- func (s *SecondStudentGazeResolver) Angle(ctx context.Context) (*[]*float64, error)
- func (s *SecondStudentGazeResolver) AngleChange(ctx context.Context) (*[]*float64, error)
- func (s *SecondStudentGazeResolver) Direction(ctx context.Context) (*[]*string, error)
- func (s *SecondStudentGazeResolver) Id(ctx context.Context) (*[]*int32, error)
- func (s *SecondStudentGazeResolver) LookingDown(ctx context.Context) (*[]*bool, error)
- func (s *SecondStudentGazeResolver) LookingFront(ctx context.Context) (*[]*bool, error)
- func (s *SecondStudentGazeResolver) TowardsInstructor(ctx context.Context) (*[]*bool, error)
- type SecondStudentLocationResolver
- func (s *SecondStudentLocationResolver) HeadEntropy(ctx context.Context) (*[]*float64, error)
- func (s *SecondStudentLocationResolver) Id(ctx context.Context) (*[]*int32, error)
- func (s *SecondStudentLocationResolver) IsMoving(ctx context.Context) (*[]*bool, error)
- func (s *SecondStudentLocationResolver) LocationCategory(ctx context.Context) (*[]*string, error)
- func (s *SecondStudentLocationResolver) LocationCoordinates(ctx context.Context) (*[][]*int32, error)
- func (s *SecondStudentLocationResolver) LocationEntropy(ctx context.Context) (*[]*float64, error)
- func (s *SecondStudentLocationResolver) TrackingIdMap(ctx context.Context) (*[][]*int32, error)
- type SecondStudentPostureResolver
- func (s *SecondStudentPostureResolver) BodyPosture(ctx context.Context) (*[]string, error)
- func (s *SecondStudentPostureResolver) HandPosture(ctx context.Context) (*[]string, error)
- func (s *SecondStudentPostureResolver) HeadPosture(ctx context.Context) (*[]string, error)
- func (s *SecondStudentPostureResolver) Id(ctx context.Context) (*[]*int32, error)
- func (s *SecondStudentPostureResolver) IsStanding(ctx context.Context) (*[]*bool, error)
- type SessionArgs
- type SessionAudioAnalysisResolver
- func (s *SessionAudioAnalysisResolver) AudioBasedActivityBlocks(ctx context.Context) (*[][][]*int32, error)
- func (s *SessionAudioAnalysisResolver) AudioBasedActivityFraction(ctx context.Context) (*[]*float64, error)
- func (s *SessionAudioAnalysisResolver) AudioBasedActivityType(ctx context.Context) (*[]*string, error)
- type SessionGazeAnalysisResolver
- type SessionInfoResolver
- type SessionInstructorGazeResolver
- func (s *SessionInstructorGazeResolver) GazePreference(ctx context.Context) (*string, error)
- func (s *SessionInstructorGazeResolver) LookingAtObjectFraction(ctx context.Context) (*[]*float64, error)
- func (s *SessionInstructorGazeResolver) ObjectCategory(ctx context.Context) (*[]*string, error)
- func (s *SessionInstructorGazeResolver) TopLocations(ctx context.Context) (*[][]*float64, error)
- func (s *SessionInstructorGazeResolver) TopLocationsGazeLeftFraction(ctx context.Context) (*[][]*float64, error)
- type SessionInstructorLocationResolver
- func (s *SessionInstructorLocationResolver) CategoryFraction(ctx context.Context) (*[]*float64, error)
- func (s *SessionInstructorLocationResolver) LocationBasedActivityBlocks(ctx context.Context) (*[][][]*int32, error)
- func (s *SessionInstructorLocationResolver) LocationBasedActivityFraction(ctx context.Context) (*[]*float64, error)
- func (s *SessionInstructorLocationResolver) LocationBasedActivityType(ctx context.Context) (*[]*string, error)
- func (s *SessionInstructorLocationResolver) LocationCategory(ctx context.Context) (*string, error)
- func (s *SessionInstructorLocationResolver) LocationClusterCenter(ctx context.Context) (*[][]*float64, error)
- func (s *SessionInstructorLocationResolver) LocationClusterCount(ctx context.Context) (*int32, error)
- func (s *SessionInstructorLocationResolver) LocationClusterSize(ctx context.Context) (*[]*int32, error)
- func (s *SessionInstructorLocationResolver) LongestBoardFraction(ctx context.Context) (*float64, error)
- func (s *SessionInstructorLocationResolver) LongestCategoryFraction(ctx context.Context) (*[]*float64, error)
- func (s *SessionInstructorLocationResolver) LongestMovingFraction(ctx context.Context) (*float64, error)
- func (s *SessionInstructorLocationResolver) LongestPodiumFraction(ctx context.Context) (*float64, error)
- func (s *SessionInstructorLocationResolver) TotalBoardFraction(ctx context.Context) (*float64, error)
- func (s *SessionInstructorLocationResolver) TotalMovingFraction(ctx context.Context) (*float64, error)
- func (s *SessionInstructorLocationResolver) TotalPodiumFraction(ctx context.Context) (*float64, error)
- type SessionInstructorPostureResolver
- func (s *SessionInstructorPostureResolver) BodyPosturePreference(ctx context.Context) (*string, error)
- func (s *SessionInstructorPostureResolver) PointingClusterCenter(ctx context.Context) (*[][]*float64, error)
- func (s *SessionInstructorPostureResolver) PointingClusterCount(ctx context.Context) (*int32, error)
- func (s *SessionInstructorPostureResolver) PointingClusterSize(ctx context.Context) (*[]*int32, error)
- type SessionLevelResolver
- func (s *SessionLevelResolver) Audio(ctx context.Context) (*SessionAudioAnalysisResolver, error)
- func (s *SessionLevelResolver) CrossModal(ctx context.Context) (*string, error)
- func (s *SessionLevelResolver) Gaze(ctx context.Context) (*SessionGazeAnalysisResolver, error)
- func (s *SessionLevelResolver) Location(ctx context.Context) (*SessionLocationAnalysisResolver, error)
- func (s *SessionLevelResolver) Posture(ctx context.Context) (*SessionPostureAnalysisResolver, error)
- func (s *SessionLevelResolver) SessionInfo(ctx context.Context) (*SessionInfoResolver, error)
- type SessionLocationAnalysisResolver
- type SessionPostureAnalysisResolver
- type SessionResolver
- func (s *SessionResolver) AudioFrames(ctx context.Context, args FrameArgs) ([]*AudioFrameResolver, error)
- func (s *SessionResolver) CreatedAt(ctx context.Context) (*TimeResolver, error)
- func (s *SessionResolver) ID(ctx context.Context) (graphql.ID, error)
- func (s *SessionResolver) Keyword(ctx context.Context) (string, error)
- func (s *SessionResolver) Schemas(ctx context.Context) ([]string, error)
- func (s *SessionResolver) Version(ctx context.Context) (string, error)
- func (s *SessionResolver) VideoFrames(ctx context.Context, args FrameArgs) ([]*VideoFrameResolver, error)
- type SessionStudentGazeResolver
- type SessionStudentLocationResolver
- func (s *SessionStudentLocationResolver) EntryLocation(ctx context.Context) (*[][]*float64, error)
- func (s *SessionStudentLocationResolver) EntryTime(ctx context.Context) (*[]*float64, error)
- func (s *SessionStudentLocationResolver) ExitLocation(ctx context.Context) (*[][]*float64, error)
- func (s *SessionStudentLocationResolver) ExitTime(ctx context.Context) (*[]*float64, error)
- func (s *SessionStudentLocationResolver) Id(ctx context.Context) (*[]*int32, error)
- func (s *SessionStudentLocationResolver) SeatingCategories(ctx context.Context) (*[]*string, error)
- func (s *SessionStudentLocationResolver) SeatingCategoryBlocks(ctx context.Context) (*[][]*int32, error)
- func (s *SessionStudentLocationResolver) SettleDownTime(ctx context.Context) (*[]*float64, error)
- type SessionStudentPostureResolver
- type SpeechResolver
- type ThumbnailResolver
- type TimeResolver
- type TimestampInput
- type TimestampQuery
- type TimestampQueryFilter
- type VideoFrameResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyticsArgs ¶
type AnalyticsResolver ¶
func (*AnalyticsResolver) BlockLevel ¶
func (a *AnalyticsResolver) BlockLevel(ctx context.Context) ([]*BlockLevelResolver, error)
func (*AnalyticsResolver) DebugInfo ¶
func (a *AnalyticsResolver) DebugInfo(ctx context.Context) (string, error)
func (*AnalyticsResolver) Keyword ¶
func (a *AnalyticsResolver) Keyword(ctx context.Context) (string, error)
func (*AnalyticsResolver) MetaInfo ¶
func (a *AnalyticsResolver) MetaInfo(ctx context.Context) (*MetaInfoResolver, error)
func (*AnalyticsResolver) SecondLevel ¶
func (a *AnalyticsResolver) SecondLevel(ctx context.Context) ([]*SecondLevelResolver, error)
func (*AnalyticsResolver) SessionLevel ¶
func (a *AnalyticsResolver) SessionLevel(ctx context.Context) (*SessionLevelResolver, error)
type AudioFrameResolver ¶
type AudioFrameResolver struct {
Frame models.AudioFrame
}
AudioFrameResolver resolves query-agnostic AudioFrame.
func (*AudioFrameResolver) Audio ¶
func (f *AudioFrameResolver) Audio(ctx context.Context) (*AudioResolver, error)
Audio extracts Audio field from given AudioFrame resolver.
func (*AudioFrameResolver) Channel ¶
func (f *AudioFrameResolver) Channel(ctx context.Context) (string, error)
Channel extracts Channel field from given AudioFrame resolver.
func (*AudioFrameResolver) FrameNumber ¶
func (f *AudioFrameResolver) FrameNumber(ctx context.Context) (int32, error)
FrameNumber extracts FrameNumber field from given AudioFrame resolver.
func (*AudioFrameResolver) Timestamp ¶
func (f *AudioFrameResolver) Timestamp(ctx context.Context) (*TimeResolver, error)
Timestamp extracts Timestamp field from given AudioFrame resolver.
type AudioInferenceResolver ¶
type AudioInferenceResolver struct {
Inference models.AudioInference
}
AudioInferenceResolver resolves query-agnostic AudioInference model.
func (*AudioInferenceResolver) Speech ¶
func (ai *AudioInferenceResolver) Speech(ctx context.Context) (*SpeechResolver, error)
Speech extracts Speech field from given AudioInference resolver.
type AudioResolver ¶
AudioResolver resolves query-agnostic Audio model.
func (*AudioResolver) Amplitude ¶
func (a *AudioResolver) Amplitude(ctx context.Context) (float64, error)
Amplitude extracts Amplitude field from given Audio resolver.
func (*AudioResolver) Inference ¶
func (a *AudioResolver) Inference(ctx context.Context) (*AudioInferenceResolver, error)
Inference extracts inference object field from given Audio resolver.
func (*AudioResolver) MelFrequency ¶
func (a *AudioResolver) MelFrequency(ctx context.Context) ([][]float64, error)
MelFrequency extracts MelFrequency field from given Audio resolver.
func (*AudioResolver) MfccFeatures ¶
func (a *AudioResolver) MfccFeatures(ctx context.Context) ([][]float64, error)
func (*AudioResolver) PolyFeatures ¶
func (a *AudioResolver) PolyFeatures(ctx context.Context) ([][]float64, error)
type BlockAudioAnalysisResolver ¶
type BlockAudioAnalysisResolver struct {
Audio models.BlockAudioAnalysis
}
func (*BlockAudioAnalysisResolver) ObjectFraction ¶
func (s *BlockAudioAnalysisResolver) ObjectFraction(ctx context.Context) (*float64, error)
func (*BlockAudioAnalysisResolver) SilenceFraction ¶
func (s *BlockAudioAnalysisResolver) SilenceFraction(ctx context.Context) (*float64, error)
func (*BlockAudioAnalysisResolver) SingleSpeakerFraction ¶
func (s *BlockAudioAnalysisResolver) SingleSpeakerFraction(ctx context.Context) (*float64, error)
func (*BlockAudioAnalysisResolver) TeacherActivityFraction ¶
func (s *BlockAudioAnalysisResolver) TeacherActivityFraction(ctx context.Context) (*[]*float64, error)
func (*BlockAudioAnalysisResolver) TeacherActivityTimes ¶
func (s *BlockAudioAnalysisResolver) TeacherActivityTimes(ctx context.Context) (*[][][]*int32, error)
func (*BlockAudioAnalysisResolver) TeacherActivityType ¶
func (s *BlockAudioAnalysisResolver) TeacherActivityType(ctx context.Context) (*[]*string, error)
func (*BlockAudioAnalysisResolver) TeacherOnlyFraction ¶
func (s *BlockAudioAnalysisResolver) TeacherOnlyFraction(ctx context.Context) (*float64, error)
type BlockGazeAnalysisResolver ¶
type BlockGazeAnalysisResolver struct {
Gaze models.BlockGazeAnalysis
}
func (*BlockGazeAnalysisResolver) Instructor ¶
func (s *BlockGazeAnalysisResolver) Instructor(ctx context.Context) (*BlockInstructorGazeResolver, error)
func (*BlockGazeAnalysisResolver) Student ¶
func (s *BlockGazeAnalysisResolver) Student(ctx context.Context) (*BlockStudentGazeResolver, error)
type BlockInfoResolver ¶
func (*BlockInfoResolver) BlockLength ¶
func (s *BlockInfoResolver) BlockLength(ctx context.Context) (int32, error)
func (*BlockInfoResolver) UnixStartSeconds ¶
func (s *BlockInfoResolver) UnixStartSeconds(ctx context.Context) (int32, error)
type BlockInstructorGazeResolver ¶
type BlockInstructorGazeResolver struct {
Instructor models.BlockInstructorGaze
}
func (*BlockInstructorGazeResolver) GazeCategory ¶
func (s *BlockInstructorGazeResolver) GazeCategory(ctx context.Context) (*string, error)
func (*BlockInstructorGazeResolver) LongestCategoryFraction ¶
func (s *BlockInstructorGazeResolver) LongestCategoryFraction(ctx context.Context) (*[]*float64, error)
func (*BlockInstructorGazeResolver) PitchMean ¶
func (s *BlockInstructorGazeResolver) PitchMean(ctx context.Context) (*float64, error)
func (*BlockInstructorGazeResolver) PitchVariance ¶
func (s *BlockInstructorGazeResolver) PitchVariance(ctx context.Context) (*float64, error)
func (*BlockInstructorGazeResolver) PrincipalGaze ¶
func (s *BlockInstructorGazeResolver) PrincipalGaze(ctx context.Context) (*PrincipalGazeResolver, error)
func (*BlockInstructorGazeResolver) RollMean ¶
func (s *BlockInstructorGazeResolver) RollMean(ctx context.Context) (*float64, error)
func (*BlockInstructorGazeResolver) RollVariance ¶
func (s *BlockInstructorGazeResolver) RollVariance(ctx context.Context) (*float64, error)
func (*BlockInstructorGazeResolver) TotalCategoryFraction ¶
func (s *BlockInstructorGazeResolver) TotalCategoryFraction(ctx context.Context) (*[]*float64, error)
func (*BlockInstructorGazeResolver) YawMean ¶
func (s *BlockInstructorGazeResolver) YawMean(ctx context.Context) (*float64, error)
func (*BlockInstructorGazeResolver) YawVariance ¶
func (s *BlockInstructorGazeResolver) YawVariance(ctx context.Context) (*float64, error)
type BlockInstructorLocationResolver ¶
type BlockInstructorLocationResolver struct {
Instructor models.BlockInstructorLocation
}
func (*BlockInstructorLocationResolver) CategoryFraction ¶
func (s *BlockInstructorLocationResolver) CategoryFraction(ctx context.Context) (*[]*float64, error)
func (*BlockInstructorLocationResolver) LocationCategory ¶
func (s *BlockInstructorLocationResolver) LocationCategory(ctx context.Context) (*[]*string, error)
func (*BlockInstructorLocationResolver) LongestBoardFraction ¶
func (s *BlockInstructorLocationResolver) LongestBoardFraction(ctx context.Context) (*float64, error)
func (*BlockInstructorLocationResolver) LongestCategoryFraction ¶
func (s *BlockInstructorLocationResolver) LongestCategoryFraction(ctx context.Context) (*[]*float64, error)
func (*BlockInstructorLocationResolver) LongestMovingFraction ¶
func (s *BlockInstructorLocationResolver) LongestMovingFraction(ctx context.Context) (*float64, error)
func (*BlockInstructorLocationResolver) LongestPodiumFraction ¶
func (s *BlockInstructorLocationResolver) LongestPodiumFraction(ctx context.Context) (*float64, error)
func (*BlockInstructorLocationResolver) LongestStayFraction ¶
func (s *BlockInstructorLocationResolver) LongestStayFraction(ctx context.Context) (*float64, error)
func (*BlockInstructorLocationResolver) PrincipalMovement ¶
func (s *BlockInstructorLocationResolver) PrincipalMovement(ctx context.Context) (*PrincipalMovementResolver, error)
func (*BlockInstructorLocationResolver) StayAtLocation ¶
func (s *BlockInstructorLocationResolver) StayAtLocation(ctx context.Context) (*[][]*int32, error)
func (*BlockInstructorLocationResolver) StayAtLocationTimes ¶
func (s *BlockInstructorLocationResolver) StayAtLocationTimes(ctx context.Context) (*[][]*float64, error)
func (*BlockInstructorLocationResolver) TotalBoardFraction ¶
func (s *BlockInstructorLocationResolver) TotalBoardFraction(ctx context.Context) (*float64, error)
func (*BlockInstructorLocationResolver) TotalMovingFraction ¶
func (s *BlockInstructorLocationResolver) TotalMovingFraction(ctx context.Context) (*float64, error)
func (*BlockInstructorLocationResolver) TotalPodiumFraction ¶
func (s *BlockInstructorLocationResolver) TotalPodiumFraction(ctx context.Context) (*float64, error)
type BlockInstructorPostureResolver ¶
type BlockInstructorPostureResolver struct {
Instructor models.BlockInstructorPosture
}
func (*BlockInstructorPostureResolver) HandPostureCategory ¶
func (s *BlockInstructorPostureResolver) HandPostureCategory(ctx context.Context) (*[]*string, error)
func (*BlockInstructorPostureResolver) HandPostureCategoryFraction ¶
func (s *BlockInstructorPostureResolver) HandPostureCategoryFraction(ctx context.Context) (*[]*float64, error)
func (*BlockInstructorPostureResolver) HeadPostureCategory ¶
func (s *BlockInstructorPostureResolver) HeadPostureCategory(ctx context.Context) (*[]*string, error)
func (*BlockInstructorPostureResolver) HeadPostureCategoryFraction ¶
func (s *BlockInstructorPostureResolver) HeadPostureCategoryFraction(ctx context.Context) (*[]*float64, error)
func (*BlockInstructorPostureResolver) MeanCentroidFaceDistance ¶
func (s *BlockInstructorPostureResolver) MeanCentroidFaceDistance(ctx context.Context) (*float64, error)
func (*BlockInstructorPostureResolver) StandingFraction ¶
func (s *BlockInstructorPostureResolver) StandingFraction(ctx context.Context) (*float64, error)
func (*BlockInstructorPostureResolver) VarCentroidFaceDistance ¶
func (s *BlockInstructorPostureResolver) VarCentroidFaceDistance(ctx context.Context) (*float64, error)
type BlockLevelResolver ¶
type BlockLevelResolver struct {
BlockLevel models.BlockLevel
}
func (*BlockLevelResolver) Audio ¶
func (s *BlockLevelResolver) Audio(ctx context.Context) (*BlockAudioAnalysisResolver, error)
func (*BlockLevelResolver) BlockInfo ¶
func (s *BlockLevelResolver) BlockInfo(ctx context.Context) (*BlockInfoResolver, error)
func (*BlockLevelResolver) CrossModal ¶
func (s *BlockLevelResolver) CrossModal(ctx context.Context) (*string, error)
func (*BlockLevelResolver) Gaze ¶
func (s *BlockLevelResolver) Gaze(ctx context.Context) (*BlockGazeAnalysisResolver, error)
func (*BlockLevelResolver) Location ¶
func (s *BlockLevelResolver) Location(ctx context.Context) (*BlockLocationAnalysisResolver, error)
func (*BlockLevelResolver) Posture ¶
func (s *BlockLevelResolver) Posture(ctx context.Context) (*BlockPostureAnalysisResolver, error)
type BlockLocationAnalysisResolver ¶
type BlockLocationAnalysisResolver struct {
Location models.BlockLocationAnalysis
}
func (*BlockLocationAnalysisResolver) Instructor ¶
func (s *BlockLocationAnalysisResolver) Instructor(ctx context.Context) (*BlockInstructorLocationResolver, error)
func (*BlockLocationAnalysisResolver) Student ¶
func (s *BlockLocationAnalysisResolver) Student(ctx context.Context) (*BlockStudentLocationResolver, error)
type BlockPostureAnalysisResolver ¶
type BlockPostureAnalysisResolver struct {
Posture models.BlockPostureAnalysis
}
func (*BlockPostureAnalysisResolver) Instructor ¶
func (s *BlockPostureAnalysisResolver) Instructor(ctx context.Context) (*BlockInstructorPostureResolver, error)
func (*BlockPostureAnalysisResolver) Student ¶
func (s *BlockPostureAnalysisResolver) Student(ctx context.Context) (*BlockStudentPostureResolver, error)
type BlockStudentGazeResolver ¶
type BlockStudentGazeResolver struct {
Student models.BlockStudentGaze
}
func (*BlockStudentGazeResolver) DirectionMean ¶
func (s *BlockStudentGazeResolver) DirectionMean(ctx context.Context) (*[][]*float64, error)
func (*BlockStudentGazeResolver) DirectionVariation ¶
func (s *BlockStudentGazeResolver) DirectionVariation(ctx context.Context) (*[][]*float64, error)
func (*BlockStudentGazeResolver) GazeCategory ¶
func (s *BlockStudentGazeResolver) GazeCategory(ctx context.Context) (*[]*string, error)
func (*BlockStudentGazeResolver) Id ¶
func (s *BlockStudentGazeResolver) Id(ctx context.Context) (*[]*int32, error)
func (*BlockStudentGazeResolver) LongestCategoryFraction ¶
func (s *BlockStudentGazeResolver) LongestCategoryFraction(ctx context.Context) (*[][]*float64, error)
func (*BlockStudentGazeResolver) LookingDownFraction ¶
func (s *BlockStudentGazeResolver) LookingDownFraction(ctx context.Context) (*[]*float64, error)
func (*BlockStudentGazeResolver) LookingFrontFraction ¶
func (s *BlockStudentGazeResolver) LookingFrontFraction(ctx context.Context) (*[]*float64, error)
func (*BlockStudentGazeResolver) NumOccurencesInBlock ¶
func (s *BlockStudentGazeResolver) NumOccurencesInBlock(ctx context.Context) (*[]*int32, error)
func (*BlockStudentGazeResolver) PitchMean ¶
func (s *BlockStudentGazeResolver) PitchMean(ctx context.Context) (*[]*float64, error)
func (*BlockStudentGazeResolver) PitchVariance ¶
func (s *BlockStudentGazeResolver) PitchVariance(ctx context.Context) (*[]*float64, error)
func (*BlockStudentGazeResolver) RollMean ¶
func (s *BlockStudentGazeResolver) RollMean(ctx context.Context) (*[]*float64, error)
func (*BlockStudentGazeResolver) RollVariance ¶
func (s *BlockStudentGazeResolver) RollVariance(ctx context.Context) (*[]*float64, error)
func (*BlockStudentGazeResolver) TotalCategoryFraction ¶
func (s *BlockStudentGazeResolver) TotalCategoryFraction(ctx context.Context) (*[][]*float64, error)
func (*BlockStudentGazeResolver) TowardsInstructorFraction ¶
func (s *BlockStudentGazeResolver) TowardsInstructorFraction(ctx context.Context) (*[]*float64, error)
func (*BlockStudentGazeResolver) YawMean ¶
func (s *BlockStudentGazeResolver) YawMean(ctx context.Context) (*[]*float64, error)
func (*BlockStudentGazeResolver) YawVariance ¶
func (s *BlockStudentGazeResolver) YawVariance(ctx context.Context) (*[]*float64, error)
type BlockStudentLocationResolver ¶
type BlockStudentLocationResolver struct {
Student models.BlockStudentLocation
}
func (*BlockStudentLocationResolver) ClusterCenters ¶
func (s *BlockStudentLocationResolver) ClusterCenters(ctx context.Context) (*[][]*float64, error)
func (*BlockStudentLocationResolver) ClusterCount ¶
func (s *BlockStudentLocationResolver) ClusterCount(ctx context.Context) (*int32, error)
func (*BlockStudentLocationResolver) ClusterStudentIds ¶
func (s *BlockStudentLocationResolver) ClusterStudentIds(ctx context.Context) (*[][]*int32, error)
func (*BlockStudentLocationResolver) Id ¶
func (s *BlockStudentLocationResolver) Id(ctx context.Context) (*[]*int32, error)
func (*BlockStudentLocationResolver) IsSettled ¶
func (s *BlockStudentLocationResolver) IsSettled(ctx context.Context) (*[]*bool, error)
func (*BlockStudentLocationResolver) MaxBodyEntropy ¶
func (s *BlockStudentLocationResolver) MaxBodyEntropy(ctx context.Context) (*[]*float64, error)
func (*BlockStudentLocationResolver) MaxHeadEntropy ¶
func (s *BlockStudentLocationResolver) MaxHeadEntropy(ctx context.Context) (*[]*float64, error)
func (*BlockStudentLocationResolver) MeanBodyEntropy ¶
func (s *BlockStudentLocationResolver) MeanBodyEntropy(ctx context.Context) (*[]*float64, error)
func (*BlockStudentLocationResolver) MeanHeadEntropy ¶
func (s *BlockStudentLocationResolver) MeanHeadEntropy(ctx context.Context) (*[]*float64, error)
func (*BlockStudentLocationResolver) NumOccurrencesInBlock ¶
func (s *BlockStudentLocationResolver) NumOccurrencesInBlock(ctx context.Context) (*[]*int32, error)
func (*BlockStudentLocationResolver) SeatingArrangement ¶
func (s *BlockStudentLocationResolver) SeatingArrangement(ctx context.Context) (*string, error)
func (*BlockStudentLocationResolver) StayCoordinates ¶
func (s *BlockStudentLocationResolver) StayCoordinates(ctx context.Context) (*[][]*int32, error)
func (*BlockStudentLocationResolver) VarBodyEntropy ¶
func (s *BlockStudentLocationResolver) VarBodyEntropy(ctx context.Context) (*[]*float64, error)
func (*BlockStudentLocationResolver) VarHeadEntropy ¶
func (s *BlockStudentLocationResolver) VarHeadEntropy(ctx context.Context) (*[]*float64, error)
type BlockStudentPostureResolver ¶
type BlockStudentPostureResolver struct {
Student models.BlockStudentPosture
}
func (*BlockStudentPostureResolver) BodyPostureCategory ¶
func (s *BlockStudentPostureResolver) BodyPostureCategory(ctx context.Context) (*[]*string, error)
func (*BlockStudentPostureResolver) BodyPostureCategoryFraction ¶
func (s *BlockStudentPostureResolver) BodyPostureCategoryFraction(ctx context.Context) (*[][]*float64, error)
func (*BlockStudentPostureResolver) HandPostureCategory ¶
func (s *BlockStudentPostureResolver) HandPostureCategory(ctx context.Context) (*[]*string, error)
func (*BlockStudentPostureResolver) HandPostureCategoryFraction ¶
func (s *BlockStudentPostureResolver) HandPostureCategoryFraction(ctx context.Context) (*[][]*float64, error)
func (*BlockStudentPostureResolver) HeadPostureCategory ¶
func (s *BlockStudentPostureResolver) HeadPostureCategory(ctx context.Context) (*[]*string, error)
func (*BlockStudentPostureResolver) HeadPostureCategoryFraction ¶
func (s *BlockStudentPostureResolver) HeadPostureCategoryFraction(ctx context.Context) (*[][]*float64, error)
func (*BlockStudentPostureResolver) Id ¶
func (s *BlockStudentPostureResolver) Id(ctx context.Context) (*[]*int32, error)
func (*BlockStudentPostureResolver) IsStandingFraction ¶
func (s *BlockStudentPostureResolver) IsStandingFraction(ctx context.Context) (*[]*bool, error)
func (*BlockStudentPostureResolver) NumOccurrencesInBlock ¶
func (s *BlockStudentPostureResolver) NumOccurrencesInBlock(ctx context.Context) (*[]*int32, error)
type ClassroomResolver ¶
SessionResolver queries database and resolves query-agnostic Session model.
func (*ClassroomResolver) BlackboardBoundary ¶
func (s *ClassroomResolver) BlackboardBoundary(ctx context.Context) ([][]float64, error)
func (*ClassroomResolver) Building ¶
func (s *ClassroomResolver) Building(ctx context.Context) (string, error)
ID extracts Session ID from given Session resolver.
func (*ClassroomResolver) CourseList ¶
func (s *ClassroomResolver) CourseList(ctx context.Context) ([][]string, error)
func (*ClassroomResolver) Dimensions ¶
func (s *ClassroomResolver) Dimensions(ctx context.Context) ([]float64, error)
func (*ClassroomResolver) DimensionsScale ¶
func (s *ClassroomResolver) DimensionsScale(ctx context.Context) (string, error)
func (*ClassroomResolver) Floor ¶
func (s *ClassroomResolver) Floor(ctx context.Context) (string, error)
func (*ClassroomResolver) FrontCameraIP ¶
func (s *ClassroomResolver) FrontCameraIP(ctx context.Context) (string, error)
func (*ClassroomResolver) FrontCameraModel ¶
func (s *ClassroomResolver) FrontCameraModel(ctx context.Context) (string, error)
func (*ClassroomResolver) NumberOfSeats ¶
func (s *ClassroomResolver) NumberOfSeats(ctx context.Context) (int32, error)
func (*ClassroomResolver) NumberOfWindows ¶
func (s *ClassroomResolver) NumberOfWindows(ctx context.Context) (int32, error)
func (*ClassroomResolver) PodiumBoundary ¶
func (s *ClassroomResolver) PodiumBoundary(ctx context.Context) ([][]float64, error)
func (*ClassroomResolver) ProjectorBoundary ¶
func (s *ClassroomResolver) ProjectorBoundary(ctx context.Context) ([][]float64, error)
func (*ClassroomResolver) RearCameraIP ¶
func (s *ClassroomResolver) RearCameraIP(ctx context.Context) (string, error)
func (*ClassroomResolver) RearCameraModel ¶
func (s *ClassroomResolver) RearCameraModel(ctx context.Context) (string, error)
type CourseResolver ¶
SessionResolver queries database and resolves query-agnostic Session model.
func (*CourseResolver) ClassID ¶
func (s *CourseResolver) ClassID(ctx context.Context) (string, error)
ID extracts Session ID from given Session resolver.
func (*CourseResolver) InitialEnrollment ¶
func (s *CourseResolver) InitialEnrollment(ctx context.Context) (int32, error)
func (*CourseResolver) Instructors ¶
func (s *CourseResolver) Instructors(ctx context.Context) ([][]string, error)
func (*CourseResolver) LectureType ¶
func (s *CourseResolver) LectureType(ctx context.Context) (string, error)
func (*CourseResolver) Section ¶
func (s *CourseResolver) Section(ctx context.Context) (string, error)
func (*CourseResolver) Semester ¶
func (s *CourseResolver) Semester(ctx context.Context) (string, error)
func (*CourseResolver) TeachingAssistants ¶
func (s *CourseResolver) TeachingAssistants(ctx context.Context) ([][]string, error)
type FaceResolver ¶
FaceResolver resolves query-agnostic Face model.
func (*FaceResolver) BoundingBox ¶
func (f *FaceResolver) BoundingBox(ctx context.Context) (*[][]int32, error)
BoundingBox extracts bounding box of face from given Face resolver.
func (*FaceResolver) MouthOpen ¶
func (f *FaceResolver) MouthOpen(ctx context.Context) (*string, error)
MouthOpen extracts mouth open/close inference from given Face resolver.
func (*FaceResolver) MouthSmile ¶
func (f *FaceResolver) MouthSmile(ctx context.Context) (*string, error)
MouthSmile extracts smile/no-smile inference from given Face resolver.
func (*FaceResolver) Orientation ¶
func (f *FaceResolver) Orientation(Ctx context.Context) (*string, error)
Orientation extracts face orientation front/back inference from given Face resolver.
type FrameArgs ¶
type FrameArgs struct { Schema string Channel string FrameNumber *FrameNumberQuery Timestamp *TimestampQuery }
FrameArgs defines arguments for frame queries.
type FrameNumberQuery ¶
type FrameNumberQuery struct {
Filters *[]FrameNumberQueryFilter
}
FrameNumberQuery defines aggregated frame number query.
type FrameNumberQueryFilter ¶
FrameNumberQueryFilter defines filter operator for frame number query.
type HeadResolver ¶
HeadResolver resolves query-agnostic Head model.
func (*HeadResolver) GazeVector ¶
func (h *HeadResolver) GazeVector(ctx context.Context) (*[][]int32, error)
GazeVector extracts gaze vector from given Head resolver.
func (*HeadResolver) Pitch ¶
func (h *HeadResolver) Pitch(ctx context.Context) (float64, error)
Pitch extracts pitch of head from given Head resolver.
func (*HeadResolver) Roll ¶
func (h *HeadResolver) Roll(ctx context.Context) (float64, error)
Roll extracts roll of head from given Head resolver.
func (*HeadResolver) TranslationVector ¶
func (h *HeadResolver) TranslationVector(ctx context.Context) (*[]float64, error)
TranslationVector extracts translation vector from given Head resolver.
type MetaInfoResolver ¶
func (*MetaInfoResolver) AnalysisStartTime ¶
func (m *MetaInfoResolver) AnalysisStartTime(ctx context.Context) (int32, error)
func (*MetaInfoResolver) FailureModules ¶
func (m *MetaInfoResolver) FailureModules(ctx context.Context) ([]string, error)
func (*MetaInfoResolver) ModuleRuntime ¶
func (m *MetaInfoResolver) ModuleRuntime(ctx context.Context) ([]float64, error)
func (*MetaInfoResolver) PipelineVersion ¶
func (m *MetaInfoResolver) PipelineVersion(ctx context.Context) (string, error)
func (*MetaInfoResolver) RunModules ¶
func (m *MetaInfoResolver) RunModules(ctx context.Context) ([]string, error)
func (*MetaInfoResolver) SuccessModules ¶
func (m *MetaInfoResolver) SuccessModules(ctx context.Context) ([]string, error)
func (*MetaInfoResolver) TotalRuntime ¶
func (m *MetaInfoResolver) TotalRuntime(ctx context.Context) (float64, error)
type PersonInferenceResolver ¶
type PersonInferenceResolver struct {
Inference models.PersonInference
}
PersonInferenceResolver resolves query-agnostic PersonInference model.
func (*PersonInferenceResolver) Face ¶
func (vi *PersonInferenceResolver) Face(ctx context.Context) (*FaceResolver, error)
Face extacts collection of face inferences from given PersonInference resolver.
func (*PersonInferenceResolver) Head ¶
func (vi *PersonInferenceResolver) Head(ctx context.Context) (*HeadResolver, error)
Head extracts collection of head inferences from given PersonInference resolver.
func (*PersonInferenceResolver) Posture ¶
func (vi *PersonInferenceResolver) Posture(ctx context.Context) (*PostureResolver, error)
Posture extracts collection of posture inferences from given PersonInference resolver.
func (*PersonInferenceResolver) TrackingID ¶
func (vi *PersonInferenceResolver) TrackingID(ctx context.Context) (*int32, error)
TrackingID extracts tracking id field from given PersonInference resolver.
type PersonResolver ¶
PersonResolver resolves query-agnostic Person model.
func (*PersonResolver) Body ¶
func (p *PersonResolver) Body(ctx context.Context) (*[]int32, error)
Body extracts body keypoint array from given Person resolver.
func (*PersonResolver) Face ¶
func (p *PersonResolver) Face(ctx context.Context) (*[]int32, error)
Face extracts face keypoint array from given Person resolver.
func (*PersonResolver) Hand ¶
func (p *PersonResolver) Hand(ctx context.Context) (*[]int32, error)
Hand extracts hand keypoint array from given Person resolver.
func (*PersonResolver) Inference ¶
func (p *PersonResolver) Inference(ctx context.Context) (*PersonInferenceResolver, error)
Inference extracts inference object from given Person resolver.
func (*PersonResolver) OpenposeID ¶
func (p *PersonResolver) OpenposeID(ctx context.Context) (*int32, error)
OpenposeID extracts source openpose ID from given Person resolver.
type PostureResolver ¶
PostureResolver resolves query-agnostic Posture model.
func (*PostureResolver) ArmDelta ¶
func (p *PostureResolver) ArmDelta(ctx context.Context) (*[][]int32, error)
ArmDelta extracts arm keypoint delta field from given Posture resolver.
func (*PostureResolver) ArmPose ¶
func (p *PostureResolver) ArmPose(ctx context.Context) (*string, error)
ArmPose extracts arm pose (a.k.a. upper body pose) field from given Posture resolver.
func (*PostureResolver) CentroidDelta ¶
func (p *PostureResolver) CentroidDelta(ctx context.Context) (*[]int32, error)
CentroidDelta extracts centroid delta field from given Posture resolver.
type PrincipalGazeResolver ¶
type PrincipalGazeResolver struct {
PrincipalGaze models.PrincipalGaze
}
func (*PrincipalGazeResolver) Direction ¶
func (s *PrincipalGazeResolver) Direction(ctx context.Context) (*[]*float64, error)
func (*PrincipalGazeResolver) DirectionVariation ¶
func (s *PrincipalGazeResolver) DirectionVariation(ctx context.Context) (*[]*float64, error)
func (*PrincipalGazeResolver) LongestStayFraction ¶
func (s *PrincipalGazeResolver) LongestStayFraction(ctx context.Context) (*[]*float64, error)
type PrincipalMovementResolver ¶
type PrincipalMovementResolver struct {
PrincipalMovement models.PrincipalMovement
}
func (*PrincipalMovementResolver) DirectionComps ¶
func (s *PrincipalMovementResolver) DirectionComps(ctx context.Context) (*[]*float64, error)
func (*PrincipalMovementResolver) DirectionMean ¶
func (s *PrincipalMovementResolver) DirectionMean(ctx context.Context) (*[]*float64, error)
func (*PrincipalMovementResolver) DirectionVariation ¶
func (s *PrincipalMovementResolver) DirectionVariation(ctx context.Context) (*[]*float64, error)
type QueryResolver ¶
type QueryResolver struct {
Driver dbhandler.DatabaseDriver
}
QueryResolver resolves given GraphQL query.
func NewQueryRoot ¶
func NewQueryRoot(driver dbhandler.DatabaseDriver) (*QueryResolver, error)
NewQueryRoot resolves database handler.
func (QueryResolver) Analytics ¶
func (q QueryResolver) Analytics(ctx context.Context, args AnalyticsArgs) ([]*AnalyticsResolver, error)
func (QueryResolver) Classrooms ¶
func (q QueryResolver) Classrooms(ctx context.Context) ([]*ClassroomResolver, error)
Sessions returns list of session resolvers from underlying database.
func (QueryResolver) Courses ¶
func (q QueryResolver) Courses(ctx context.Context) ([]*CourseResolver, error)
Sessions returns list of session resolvers from underlying database.
func (QueryResolver) Sessions ¶
func (q QueryResolver) Sessions(ctx context.Context, args SessionArgs) ([]*SessionResolver, error)
Sessions returns list of session resolvers from underlying database.
type SecondAudioAnalysisResolver ¶
type SecondAudioAnalysisResolver struct {
Audio models.SecondAudioAnalysis
}
func (*SecondAudioAnalysisResolver) IsObjectNoise ¶
func (s *SecondAudioAnalysisResolver) IsObjectNoise(ctx context.Context) (*bool, error)
func (*SecondAudioAnalysisResolver) IsSilence ¶
func (s *SecondAudioAnalysisResolver) IsSilence(ctx context.Context) (*bool, error)
func (*SecondAudioAnalysisResolver) IsSingleSpeaker ¶
func (s *SecondAudioAnalysisResolver) IsSingleSpeaker(ctx context.Context) (*bool, error)
func (*SecondAudioAnalysisResolver) IsTeacherOnly ¶
func (s *SecondAudioAnalysisResolver) IsTeacherOnly(ctx context.Context) (*bool, error)
type SecondGazeAnalysisResolver ¶
type SecondGazeAnalysisResolver struct {
Gaze models.SecondGazeAnalysis
}
func (*SecondGazeAnalysisResolver) Instructor ¶
func (s *SecondGazeAnalysisResolver) Instructor(ctx context.Context) (*SecondInstructorGazeResolver, error)
func (*SecondGazeAnalysisResolver) Student ¶
func (s *SecondGazeAnalysisResolver) Student(ctx context.Context) (*SecondStudentGazeResolver, error)
type SecondInfoResolver ¶
type SecondInfoResolver struct {
SecondInfo models.SecondInfo
}
func (*SecondInfoResolver) FrameEnd ¶
func (s *SecondInfoResolver) FrameEnd(ctx context.Context) (*int32, error)
func (*SecondInfoResolver) FrameStart ¶
func (s *SecondInfoResolver) FrameStart(ctx context.Context) (*int32, error)
func (*SecondInfoResolver) UnixSeconds ¶
func (s *SecondInfoResolver) UnixSeconds(ctx context.Context) (*int32, error)
type SecondInstructorGazeResolver ¶
type SecondInstructorGazeResolver struct {
Instructor models.SecondInstructorGaze
}
func (*SecondInstructorGazeResolver) Angle ¶
func (s *SecondInstructorGazeResolver) Angle(ctx context.Context) (*float64, error)
func (*SecondInstructorGazeResolver) AngleChange ¶
func (s *SecondInstructorGazeResolver) AngleChange(ctx context.Context) (*float64, error)
func (*SecondInstructorGazeResolver) CountStudentsInGaze ¶
func (s *SecondInstructorGazeResolver) CountStudentsInGaze(ctx context.Context) (*int32, error)
func (*SecondInstructorGazeResolver) Direction ¶
func (s *SecondInstructorGazeResolver) Direction(ctx context.Context) (*string, error)
func (*SecondInstructorGazeResolver) LookingDown ¶
func (s *SecondInstructorGazeResolver) LookingDown(ctx context.Context) (*bool, error)
func (*SecondInstructorGazeResolver) TowardsStudents ¶
func (s *SecondInstructorGazeResolver) TowardsStudents(ctx context.Context) (*bool, error)
func (*SecondInstructorGazeResolver) ViewingSectorThreshold ¶
func (s *SecondInstructorGazeResolver) ViewingSectorThreshold(ctx context.Context) (*float64, error)
type SecondInstructorLocationResolver ¶
type SecondInstructorLocationResolver struct {
Instructor models.SecondInstructorLocation
}
func (*SecondInstructorLocationResolver) AtBoard ¶
func (s *SecondInstructorLocationResolver) AtBoard(ctx context.Context) (*bool, error)
func (*SecondInstructorLocationResolver) AtPodium ¶
func (s *SecondInstructorLocationResolver) AtPodium(ctx context.Context) (*bool, error)
func (*SecondInstructorLocationResolver) HeadEntropy ¶
func (s *SecondInstructorLocationResolver) HeadEntropy(ctx context.Context) (*float64, error)
func (*SecondInstructorLocationResolver) IsMoving ¶
func (s *SecondInstructorLocationResolver) IsMoving(ctx context.Context) (*bool, error)
func (*SecondInstructorLocationResolver) LocationCategory ¶
func (s *SecondInstructorLocationResolver) LocationCategory(ctx context.Context) (*string, error)
func (*SecondInstructorLocationResolver) LocationCoordinates ¶
func (s *SecondInstructorLocationResolver) LocationCoordinates(ctx context.Context) (*[]*int32, error)
func (*SecondInstructorLocationResolver) LocationEntropy ¶
func (s *SecondInstructorLocationResolver) LocationEntropy(ctx context.Context) (*float64, error)
type SecondInstructorPostureResolver ¶
type SecondInstructorPostureResolver struct {
Instructor models.SecondInstructorPosture
}
func (*SecondInstructorPostureResolver) CentroidFaceDistance ¶
func (s *SecondInstructorPostureResolver) CentroidFaceDistance(ctx context.Context) (*float64, error)
func (*SecondInstructorPostureResolver) CentroidFaceDistanceAbsolute ¶
func (s *SecondInstructorPostureResolver) CentroidFaceDistanceAbsolute(ctx context.Context) (*float64, error)
func (*SecondInstructorPostureResolver) HandPosture ¶
func (s *SecondInstructorPostureResolver) HandPosture(ctx context.Context) (*string, error)
func (*SecondInstructorPostureResolver) HeadPosture ¶
func (s *SecondInstructorPostureResolver) HeadPosture(ctx context.Context) (*string, error)
func (*SecondInstructorPostureResolver) IsPointing ¶
func (s *SecondInstructorPostureResolver) IsPointing(ctx context.Context) (*bool, error)
func (*SecondInstructorPostureResolver) IsStanding ¶
func (s *SecondInstructorPostureResolver) IsStanding(ctx context.Context) (*bool, error)
func (*SecondInstructorPostureResolver) PointingDirection ¶
func (s *SecondInstructorPostureResolver) PointingDirection(ctx context.Context) (*[]*float64, error)
type SecondLevelResolver ¶
type SecondLevelResolver struct {
SecondLevel models.SecondLevel
}
func (*SecondLevelResolver) Audio ¶
func (s *SecondLevelResolver) Audio(ctx context.Context) (*SecondAudioAnalysisResolver, error)
func (*SecondLevelResolver) CrossModal ¶
func (s *SecondLevelResolver) CrossModal(ctx context.Context) (*string, error)
func (*SecondLevelResolver) Gaze ¶
func (s *SecondLevelResolver) Gaze(ctx context.Context) (*SecondGazeAnalysisResolver, error)
func (*SecondLevelResolver) Location ¶
func (s *SecondLevelResolver) Location(ctx context.Context) (*SecondLocationAnalysisResolver, error)
func (*SecondLevelResolver) Posture ¶
func (s *SecondLevelResolver) Posture(ctx context.Context) (*SecondPostureAnalysisResolver, error)
func (*SecondLevelResolver) SecondInfo ¶
func (s *SecondLevelResolver) SecondInfo(ctx context.Context) (*SecondInfoResolver, error)
type SecondLocationAnalysisResolver ¶
type SecondLocationAnalysisResolver struct {
Location models.SecondLocationAnalysis
}
func (*SecondLocationAnalysisResolver) Instructor ¶
func (s *SecondLocationAnalysisResolver) Instructor(ctx context.Context) (*SecondInstructorLocationResolver, error)
func (*SecondLocationAnalysisResolver) Student ¶
func (s *SecondLocationAnalysisResolver) Student(ctx context.Context) (*SecondStudentLocationResolver, error)
type SecondPostureAnalysisResolver ¶
type SecondPostureAnalysisResolver struct {
Posture models.SecondPostureAnalysis
}
func (*SecondPostureAnalysisResolver) Instructor ¶
func (s *SecondPostureAnalysisResolver) Instructor(ctx context.Context) (*SecondInstructorPostureResolver, error)
func (*SecondPostureAnalysisResolver) Student ¶
func (s *SecondPostureAnalysisResolver) Student(ctx context.Context) (*SecondStudentPostureResolver, error)
type SecondStudentGazeResolver ¶
type SecondStudentGazeResolver struct {
Student models.SecondStudentGaze
}
func (*SecondStudentGazeResolver) Angle ¶
func (s *SecondStudentGazeResolver) Angle(ctx context.Context) (*[]*float64, error)
func (*SecondStudentGazeResolver) AngleChange ¶
func (s *SecondStudentGazeResolver) AngleChange(ctx context.Context) (*[]*float64, error)
func (*SecondStudentGazeResolver) Direction ¶
func (s *SecondStudentGazeResolver) Direction(ctx context.Context) (*[]*string, error)
func (*SecondStudentGazeResolver) Id ¶
func (s *SecondStudentGazeResolver) Id(ctx context.Context) (*[]*int32, error)
func (*SecondStudentGazeResolver) LookingDown ¶
func (s *SecondStudentGazeResolver) LookingDown(ctx context.Context) (*[]*bool, error)
func (*SecondStudentGazeResolver) LookingFront ¶
func (s *SecondStudentGazeResolver) LookingFront(ctx context.Context) (*[]*bool, error)
func (*SecondStudentGazeResolver) TowardsInstructor ¶
func (s *SecondStudentGazeResolver) TowardsInstructor(ctx context.Context) (*[]*bool, error)
type SecondStudentLocationResolver ¶
type SecondStudentLocationResolver struct {
Student models.SecondStudentLocation
}
func (*SecondStudentLocationResolver) HeadEntropy ¶
func (s *SecondStudentLocationResolver) HeadEntropy(ctx context.Context) (*[]*float64, error)
func (*SecondStudentLocationResolver) Id ¶
func (s *SecondStudentLocationResolver) Id(ctx context.Context) (*[]*int32, error)
func (*SecondStudentLocationResolver) IsMoving ¶
func (s *SecondStudentLocationResolver) IsMoving(ctx context.Context) (*[]*bool, error)
func (*SecondStudentLocationResolver) LocationCategory ¶
func (s *SecondStudentLocationResolver) LocationCategory(ctx context.Context) (*[]*string, error)
func (*SecondStudentLocationResolver) LocationCoordinates ¶
func (s *SecondStudentLocationResolver) LocationCoordinates(ctx context.Context) (*[][]*int32, error)
func (*SecondStudentLocationResolver) LocationEntropy ¶
func (s *SecondStudentLocationResolver) LocationEntropy(ctx context.Context) (*[]*float64, error)
func (*SecondStudentLocationResolver) TrackingIdMap ¶
func (s *SecondStudentLocationResolver) TrackingIdMap(ctx context.Context) (*[][]*int32, error)
type SecondStudentPostureResolver ¶
type SecondStudentPostureResolver struct {
Student models.SecondStudentPosture
}
func (*SecondStudentPostureResolver) BodyPosture ¶
func (s *SecondStudentPostureResolver) BodyPosture(ctx context.Context) (*[]string, error)
func (*SecondStudentPostureResolver) HandPosture ¶
func (s *SecondStudentPostureResolver) HandPosture(ctx context.Context) (*[]string, error)
func (*SecondStudentPostureResolver) HeadPosture ¶
func (s *SecondStudentPostureResolver) HeadPosture(ctx context.Context) (*[]string, error)
func (*SecondStudentPostureResolver) Id ¶
func (s *SecondStudentPostureResolver) Id(ctx context.Context) (*[]*int32, error)
func (*SecondStudentPostureResolver) IsStanding ¶
func (s *SecondStudentPostureResolver) IsStanding(ctx context.Context) (*[]*bool, error)
type SessionArgs ¶
SessionArgs defines parameters for session queries.
type SessionAudioAnalysisResolver ¶
type SessionAudioAnalysisResolver struct {
Audio models.SessionAudioAnalysis
}
func (*SessionAudioAnalysisResolver) AudioBasedActivityBlocks ¶
func (s *SessionAudioAnalysisResolver) AudioBasedActivityBlocks(ctx context.Context) (*[][][]*int32, error)
func (*SessionAudioAnalysisResolver) AudioBasedActivityFraction ¶
func (s *SessionAudioAnalysisResolver) AudioBasedActivityFraction(ctx context.Context) (*[]*float64, error)
func (*SessionAudioAnalysisResolver) AudioBasedActivityType ¶
func (s *SessionAudioAnalysisResolver) AudioBasedActivityType(ctx context.Context) (*[]*string, error)
type SessionGazeAnalysisResolver ¶
type SessionGazeAnalysisResolver struct {
Gaze models.SessionGazeAnalysis
}
func (*SessionGazeAnalysisResolver) Instructor ¶
func (s *SessionGazeAnalysisResolver) Instructor(ctx context.Context) (*SessionInstructorGazeResolver, error)
func (*SessionGazeAnalysisResolver) Student ¶
func (s *SessionGazeAnalysisResolver) Student(ctx context.Context) (*SessionStudentGazeResolver, error)
type SessionInfoResolver ¶
type SessionInfoResolver struct {
SessionInfo models.SessionInfo
}
func (*SessionInfoResolver) SessionLength ¶
func (s *SessionInfoResolver) SessionLength(ctx context.Context) (int32, error)
func (*SessionInfoResolver) UnixStartSeconds ¶
func (s *SessionInfoResolver) UnixStartSeconds(ctx context.Context) (int32, error)
type SessionInstructorGazeResolver ¶
type SessionInstructorGazeResolver struct {
Instructor models.SessionInstructorGaze
}
func (*SessionInstructorGazeResolver) GazePreference ¶
func (s *SessionInstructorGazeResolver) GazePreference(ctx context.Context) (*string, error)
func (*SessionInstructorGazeResolver) LookingAtObjectFraction ¶
func (s *SessionInstructorGazeResolver) LookingAtObjectFraction(ctx context.Context) (*[]*float64, error)
func (*SessionInstructorGazeResolver) ObjectCategory ¶
func (s *SessionInstructorGazeResolver) ObjectCategory(ctx context.Context) (*[]*string, error)
func (*SessionInstructorGazeResolver) TopLocations ¶
func (s *SessionInstructorGazeResolver) TopLocations(ctx context.Context) (*[][]*float64, error)
func (*SessionInstructorGazeResolver) TopLocationsGazeLeftFraction ¶
func (s *SessionInstructorGazeResolver) TopLocationsGazeLeftFraction(ctx context.Context) (*[][]*float64, error)
type SessionInstructorLocationResolver ¶
type SessionInstructorLocationResolver struct {
Instructor models.SessionInstructorLocation
}
func (*SessionInstructorLocationResolver) CategoryFraction ¶
func (s *SessionInstructorLocationResolver) CategoryFraction(ctx context.Context) (*[]*float64, error)
func (*SessionInstructorLocationResolver) LocationBasedActivityBlocks ¶
func (s *SessionInstructorLocationResolver) LocationBasedActivityBlocks(ctx context.Context) (*[][][]*int32, error)
func (*SessionInstructorLocationResolver) LocationBasedActivityFraction ¶
func (s *SessionInstructorLocationResolver) LocationBasedActivityFraction(ctx context.Context) (*[]*float64, error)
func (*SessionInstructorLocationResolver) LocationBasedActivityType ¶
func (s *SessionInstructorLocationResolver) LocationBasedActivityType(ctx context.Context) (*[]*string, error)
func (*SessionInstructorLocationResolver) LocationCategory ¶
func (s *SessionInstructorLocationResolver) LocationCategory(ctx context.Context) (*string, error)
func (*SessionInstructorLocationResolver) LocationClusterCenter ¶
func (s *SessionInstructorLocationResolver) LocationClusterCenter(ctx context.Context) (*[][]*float64, error)
func (*SessionInstructorLocationResolver) LocationClusterCount ¶
func (s *SessionInstructorLocationResolver) LocationClusterCount(ctx context.Context) (*int32, error)
func (*SessionInstructorLocationResolver) LocationClusterSize ¶
func (s *SessionInstructorLocationResolver) LocationClusterSize(ctx context.Context) (*[]*int32, error)
func (*SessionInstructorLocationResolver) LongestBoardFraction ¶
func (s *SessionInstructorLocationResolver) LongestBoardFraction(ctx context.Context) (*float64, error)
func (*SessionInstructorLocationResolver) LongestCategoryFraction ¶
func (s *SessionInstructorLocationResolver) LongestCategoryFraction(ctx context.Context) (*[]*float64, error)
func (*SessionInstructorLocationResolver) LongestMovingFraction ¶
func (s *SessionInstructorLocationResolver) LongestMovingFraction(ctx context.Context) (*float64, error)
func (*SessionInstructorLocationResolver) LongestPodiumFraction ¶
func (s *SessionInstructorLocationResolver) LongestPodiumFraction(ctx context.Context) (*float64, error)
func (*SessionInstructorLocationResolver) TotalBoardFraction ¶
func (s *SessionInstructorLocationResolver) TotalBoardFraction(ctx context.Context) (*float64, error)
func (*SessionInstructorLocationResolver) TotalMovingFraction ¶
func (s *SessionInstructorLocationResolver) TotalMovingFraction(ctx context.Context) (*float64, error)
func (*SessionInstructorLocationResolver) TotalPodiumFraction ¶
func (s *SessionInstructorLocationResolver) TotalPodiumFraction(ctx context.Context) (*float64, error)
type SessionInstructorPostureResolver ¶
type SessionInstructorPostureResolver struct {
Instructor models.SessionInstructorPosture
}
func (*SessionInstructorPostureResolver) BodyPosturePreference ¶
func (s *SessionInstructorPostureResolver) BodyPosturePreference(ctx context.Context) (*string, error)
func (*SessionInstructorPostureResolver) PointingClusterCenter ¶
func (s *SessionInstructorPostureResolver) PointingClusterCenter(ctx context.Context) (*[][]*float64, error)
func (*SessionInstructorPostureResolver) PointingClusterCount ¶
func (s *SessionInstructorPostureResolver) PointingClusterCount(ctx context.Context) (*int32, error)
func (*SessionInstructorPostureResolver) PointingClusterSize ¶
func (s *SessionInstructorPostureResolver) PointingClusterSize(ctx context.Context) (*[]*int32, error)
type SessionLevelResolver ¶
type SessionLevelResolver struct {
SessionLevel models.SessionLevel
}
func (*SessionLevelResolver) Audio ¶
func (s *SessionLevelResolver) Audio(ctx context.Context) (*SessionAudioAnalysisResolver, error)
func (*SessionLevelResolver) CrossModal ¶
func (s *SessionLevelResolver) CrossModal(ctx context.Context) (*string, error)
func (*SessionLevelResolver) Gaze ¶
func (s *SessionLevelResolver) Gaze(ctx context.Context) (*SessionGazeAnalysisResolver, error)
func (*SessionLevelResolver) Location ¶
func (s *SessionLevelResolver) Location(ctx context.Context) (*SessionLocationAnalysisResolver, error)
func (*SessionLevelResolver) Posture ¶
func (s *SessionLevelResolver) Posture(ctx context.Context) (*SessionPostureAnalysisResolver, error)
func (*SessionLevelResolver) SessionInfo ¶
func (s *SessionLevelResolver) SessionInfo(ctx context.Context) (*SessionInfoResolver, error)
type SessionLocationAnalysisResolver ¶
type SessionLocationAnalysisResolver struct {
Location models.SessionLocationAnalysis
}
func (*SessionLocationAnalysisResolver) Instructor ¶
func (s *SessionLocationAnalysisResolver) Instructor(ctx context.Context) (*SessionInstructorLocationResolver, error)
func (*SessionLocationAnalysisResolver) Student ¶
func (s *SessionLocationAnalysisResolver) Student(ctx context.Context) (*SessionStudentLocationResolver, error)
type SessionPostureAnalysisResolver ¶
type SessionPostureAnalysisResolver struct {
Posture models.SessionPostureAnalysis
}
func (*SessionPostureAnalysisResolver) Instructor ¶
func (s *SessionPostureAnalysisResolver) Instructor(ctx context.Context) (*SessionInstructorPostureResolver, error)
func (*SessionPostureAnalysisResolver) Student ¶
func (s *SessionPostureAnalysisResolver) Student(ctx context.Context) (*SessionStudentPostureResolver, error)
type SessionResolver ¶
type SessionResolver struct { Session *models.Session FrameQuery bool Driver dbhandler.DatabaseDriver }
SessionResolver queries database and resolves query-agnostic Session model.
func (*SessionResolver) AudioFrames ¶
func (s *SessionResolver) AudioFrames(ctx context.Context, args FrameArgs) ([]*AudioFrameResolver, error)
AudioFrames extracts list of audio frame resolvers from given Session resolver.
func (*SessionResolver) CreatedAt ¶
func (s *SessionResolver) CreatedAt(ctx context.Context) (*TimeResolver, error)
CreatedAt extracts when this session is created at from given Session resolver.
func (*SessionResolver) Keyword ¶
func (s *SessionResolver) Keyword(ctx context.Context) (string, error)
Keyword extracts keyword from given Session resolver.
func (*SessionResolver) Schemas ¶
func (s *SessionResolver) Schemas(ctx context.Context) ([]string, error)
Schemas extracts schemas from given Session resolver. TODO(DohyunKimOfficial): Currently returning empty list. After plumbing schemas to query and storage infrastructure, we can add schema resolving logic here.
func (*SessionResolver) Version ¶
func (s *SessionResolver) Version(ctx context.Context) (string, error)
func (*SessionResolver) VideoFrames ¶
func (s *SessionResolver) VideoFrames(ctx context.Context, args FrameArgs) ([]*VideoFrameResolver, error)
VideoFrames extracts list of video frame resolvers from given Session resolver.
type SessionStudentGazeResolver ¶
type SessionStudentGazeResolver struct {
Student models.SessionStudentGaze
}
func (*SessionStudentGazeResolver) GazeCategory ¶
func (s *SessionStudentGazeResolver) GazeCategory(ctx context.Context) (*[]*string, error)
func (*SessionStudentGazeResolver) GazeCategoryFraction ¶
func (s *SessionStudentGazeResolver) GazeCategoryFraction(ctx context.Context) (*[][]*float64, error)
type SessionStudentLocationResolver ¶
type SessionStudentLocationResolver struct {
Student models.SessionStudentLocation
}
func (*SessionStudentLocationResolver) EntryLocation ¶
func (s *SessionStudentLocationResolver) EntryLocation(ctx context.Context) (*[][]*float64, error)
func (*SessionStudentLocationResolver) EntryTime ¶
func (s *SessionStudentLocationResolver) EntryTime(ctx context.Context) (*[]*float64, error)
func (*SessionStudentLocationResolver) ExitLocation ¶
func (s *SessionStudentLocationResolver) ExitLocation(ctx context.Context) (*[][]*float64, error)
func (*SessionStudentLocationResolver) ExitTime ¶
func (s *SessionStudentLocationResolver) ExitTime(ctx context.Context) (*[]*float64, error)
func (*SessionStudentLocationResolver) Id ¶
func (s *SessionStudentLocationResolver) Id(ctx context.Context) (*[]*int32, error)
func (*SessionStudentLocationResolver) SeatingCategories ¶
func (s *SessionStudentLocationResolver) SeatingCategories(ctx context.Context) (*[]*string, error)
func (*SessionStudentLocationResolver) SeatingCategoryBlocks ¶
func (s *SessionStudentLocationResolver) SeatingCategoryBlocks(ctx context.Context) (*[][]*int32, error)
func (*SessionStudentLocationResolver) SettleDownTime ¶
func (s *SessionStudentLocationResolver) SettleDownTime(ctx context.Context) (*[]*float64, error)
type SessionStudentPostureResolver ¶
type SessionStudentPostureResolver struct {
Student models.SessionStudentPosture
}
func (*SessionStudentPostureResolver) HandPosturePreference ¶
func (s *SessionStudentPostureResolver) HandPosturePreference(ctx context.Context) (*[]*string, error)
func (*SessionStudentPostureResolver) HeadPosturePreference ¶
func (s *SessionStudentPostureResolver) HeadPosturePreference(ctx context.Context) (*[]*string, error)
type SpeechResolver ¶
SpeechResolver resolves query-agnostic Speech model.
func (*SpeechResolver) Confidence ¶
func (s *SpeechResolver) Confidence(ctx context.Context) (float64, error)
Confidence extracts confidence score field from given Speech resolver.
type ThumbnailResolver ¶
ThumbnailResolver resolves query-agnostic Thumbnail model.
func (*ThumbnailResolver) Binary ¶
func (t *ThumbnailResolver) Binary(ctx context.Context) (string, error)
Binary returns the base64 encoding of the thumbnail.
func (*ThumbnailResolver) OriginalCols ¶
func (t *ThumbnailResolver) OriginalCols(ctx context.Context) (int32, error)
OriginalCols returns the original weith of the source image (Cols).
func (*ThumbnailResolver) OriginalRows ¶
func (t *ThumbnailResolver) OriginalRows(ctx context.Context) (int32, error)
OriginalRows returns the original height of the source image (Rows).
type TimeResolver ¶
TimeResolver resolves query-agnostic Time variable.
func (*TimeResolver) RFC3339 ¶
func (t *TimeResolver) RFC3339(ctx context.Context) (string, error)
RFC3339 returns time in RFC3339 format to clients.
func (*TimeResolver) UnixNanoseconds ¶
func (t *TimeResolver) UnixNanoseconds(ctx context.Context) (int32, error)
UnixNanoseconds returns time in nanosecond offset from UnixSeconds to clients.
func (*TimeResolver) UnixSeconds ¶
func (t *TimeResolver) UnixSeconds(ctx context.Context) (int32, error)
UnixSeconds returns time in unix seconds format to clients.
type TimestampInput ¶
TimestampInput defines timestamp input format.
type TimestampQuery ¶
type TimestampQuery struct {
Filters *[]TimestampQueryFilter
}
TimestampQuery defines aggregated timestamp query.
type TimestampQueryFilter ¶
type TimestampQueryFilter struct { Op string Format string Timestamp TimestampInput }
TimestampQueryFilter defines filter operator for timestamp query.
type VideoFrameResolver ¶
type VideoFrameResolver struct {
Frame models.VideoFrame
}
VideoFrameResolver resolves query-agnostic VideoFrame model.
func (*VideoFrameResolver) FrameNumber ¶
func (f *VideoFrameResolver) FrameNumber() (int32, error)
FrameNumber extracts frame number from given VideoFrame resolver.
func (*VideoFrameResolver) People ¶
func (f *VideoFrameResolver) People(ctx context.Context) (*[]*PersonResolver, error)
People extracts list of Person resolvers from given VideoFrame resolver.
func (*VideoFrameResolver) Thumbnail ¶
func (f *VideoFrameResolver) Thumbnail(ctx context.Context) (*ThumbnailResolver, error)
Thumbnail extracts thumbnail from given VideoFrame resolver.
func (*VideoFrameResolver) Timestamp ¶
func (f *VideoFrameResolver) Timestamp() (*TimeResolver, error)
Timestamp extracts timestamp from given VideoFrame resolver.