MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ reset()

void MayaFlux::Kinesis::Vision::VisionExecutor::reset ( )

Clear stored inter-frame state.

Call when the pixel source changes (camera switch, video seek) so the next track_keypoints step starts clean. Does not release scratch storage.

Definition at line 86 of file VisionExecutor.cpp.

87{
88 std::get<std::vector<float>>(m_prev_gray).clear();
89 m_curr_gray_cache.clear();
90 m_prev_keypoints.clear();
91}

References m_curr_gray_cache, m_prev_gray, and m_prev_keypoints.

Referenced by MayaFlux::Buffers::ImageCVProcessor< T >::on_attach(), MayaFlux::Kakshya::VisionProcessor::on_attach(), MayaFlux::Buffers::ImageCVProcessor< T >::on_detach(), MayaFlux::Kakshya::VisionProcessor::on_detach(), MayaFlux::Yantra::VisionAnalyzer< InputType, OutputType >::reset(), and MayaFlux::Yantra::VisionAnalyzer< InputType, OutputType >::set_sequence().

+ Here is the caller graph for this function: