blob: 5d555a91834f0544de919686706e0bc5526eba11 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Next MinVersion: 1
module chromeos.media_perception.mojom;
struct PresencePerception {
// The timestamp associated with the perception result.
int64 timestamp_us@0;
// Overall probability [0, 1] that a human is present.
float presence_confidence@1;
};
interface PresencePerceptionHandler {
// Callback for presence perception data that comes out of the pipeline.
OnPresencePerception(PresencePerception presence_perception);
};