Use Cpp style cast
This commit is contained in:
parent
d0cce9d97d
commit
a55e33824b
|
@ -67,7 +67,7 @@ public:
|
|||
|
||||
// Send image packet into the graph.
|
||||
size_t frameTimestampUs =
|
||||
(double)cv::getTickCount() / (double)cv::getTickFrequency() * 1e6;
|
||||
static_cast<double>(cv::getTickCount()) / static_cast<double>(cv::getTickFrequency()) * 1e6;
|
||||
auto status = graph.AddPacketToInputStream(
|
||||
kInputStream, mediapipe::Adopt(inputFrame.release())
|
||||
.At(mediapipe::Timestamp(frameTimestampUs)));
|
||||
|
|
Loading…
Reference in New Issue
Block a user