Definition at line 988 of file mainMonetTest.cpp. References Impala::Core::Table::AnnotationTableSet::Diff(), Impala::CmdOptions::GetArg(), Impala::CmdOptions::GetInstance(), Impala::CmdOptions::GetNrArg(), ILOG_ERROR, ILOG_VAR, MakeAnnotationTableSetMapi(), Impala::Core::Table::AnnotationTableSet::MakeFromFile(), Impala::Core::VideoSet::MakeVideoSet(), Impala::QUID_CLASS_FRAME, and Impala::StringToQuidClass(). Referenced by mainMonetTest(). 00989 { 00990 ILOG_VAR(Impala.Samples.MonetTest.DoCheckAnnotations); 00991 CmdOptions& options = CmdOptions::GetInstance(); 00992 if (options.GetNrArg() < 7) 00993 { 00994 ILOG_ERROR("Need more parameters"); 00995 return; 00996 } 00997 00998 String vidSetName = options.GetArg(4); 00999 VideoSet* vidSet = Core::VideoSet::MakeVideoSet(vidSetName); 01000 String conceptSet = options.GetArg(5); 01001 int quidClass = StringToQuidClass(options.GetArg(6)); 01002 if (quidClass != QUID_CLASS_FRAME) 01003 { 01004 ILOG_ERROR("Can do frame annotations only."); 01005 return; 01006 } 01007 01008 AnnotationTableSet* tSet = 01009 Core::Table::AnnotationTableSet::MakeFromFile(vidSet, conceptSet, true, 01010 quidClass); 01011 if (tSet == 0) 01012 return; 01013 01014 AnnotationTableSet* tSet2 = MakeAnnotationTableSetMapi(vidSet, conceptSet, 01015 true, quidClass, 01016 conn); 01017 tSet->Diff(tSet2); 01018 delete tSet; 01019 delete tSet2; 01020 delete vidSet; 01021 }
Here is the call graph for this function:
|