Arrived at given DB_FILE in a "normal" walk.
Reimplemented from Impala::Core::VideoSet::Listener. Definition at line 65 of file ProtoSimilarityEval.h. References Impala::Core::Feature::FeatureTableSet::GetFeatureDefinition(), Impala::Core::Feature::Computor::GetFeatureTableSet(), Impala::CmdOptions::GetInstance(), Impala::Persistency::FeatureLocator::GetIsPartial(), Impala::Core::Feature::FeatureTableSet::GetTable(), ILOG_INFO, mComputor, mIsPartial, mLoc, mSkipThisVideo, mStartFrame, mWalkType, Impala::Persistency::FeatureLocator::SetContainer(), Impala::Persistency::FeatureLocator::SetFeatureDef(), and Impala::Core::Feature::FeatureTableSet::Size(). 00066 { 00067 // check if override is not set, and the features already exist 00068 mSkipThisVideo = false; 00069 if (CmdOptions::GetInstance().GetBool("override")) 00070 return; 00071 00072 Feature::FeatureTableSet* tableSet = mComputor->GetFeatureTableSet(); 00073 for (int i=0 ; i<tableSet->Size() ; i++) 00074 { 00075 if (mLoc.GetIsPartial() && (tableSet->GetTable(i)->Size() < 2)) 00076 continue; 00077 Feature::FeatureDefinition def = tableSet->GetFeatureDefinition(i); 00078 #ifndef REPOSITORY_USED // Here comes the deprecated stuff 00079 String fName = vs->GetFilePathFeatureData(mWalkType, def, fileId, 00080 mIsPartial, mStartFrame, 00081 true, false); 00082 if (fName.empty()) 00083 #else // REPOSITORY_USED 00084 mLoc.SetFeatureDef(def); 00085 mLoc.SetContainer(vs->GetContainerFile(fileId)); 00086 if (Persistency::FeatureTableRepository().Exists(mLoc)) 00087 #endif // REPOSITORY_USED 00088 { 00089 ILOG_INFO("Skipping video " << fileId << 00090 "; FeatureData file already exists"); 00091 mSkipThisVideo = true; 00092 } 00093 } 00094 }
Here is the call graph for this function:
|