MayaFlux 1.0.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 145 of file VisionExecutor.cpp.

146{
147 std::get<std::vector<float>>(m_prev_gray).clear();
148 m_curr_gray_cache.clear();
149 m_prev_keypoints.clear();
150}

References m_curr_gray_cache, m_prev_gray, and m_prev_keypoints.

Referenced by ensure_slots(), MayaFlux::Buffers::ImageCVProcessor< T >::on_attach(), MayaFlux::Kakshya::VisionProcessor::on_attach(), MayaFlux::Buffers::ImageCVProcessor< T >::on_detach(), MayaFlux::Kakshya::VisionProcessor::on_detach(), MayaFlux::Buffers::ImageCVProcessor< T >::set_sequence(), and MayaFlux::Kakshya::VisionProcessor::set_sequence().

+ Here is the caller graph for this function: