Example #1
0
        public static void DrawMultipleResult(String paPath, List <int> epcList)
        {
            for (int i = 0; i < epcList.Count; i++)
            {
                int           epc        = epcList[i];
                List <String> paths      = IOTools.ListPaths(paPath);
                List <String> labelTotal = new List <string>();
                List <String> dataTotal  = new List <string>();
                List <String> timeTotal  = new List <string>();
                int           fileoffset = 0;
                CVO           cvo        = new CVO();
                foreach (String path in paths)
                {
                    List <String> indexList = IOTools.ReadListFromTxt(path + @"\index" + epc + ".txt");
                    if (i == 0)
                    {
                        cvo.DrawDLInVedio(path + @"\1.avi",
                                          path + @"\epc" + epcList[i] + ".avi", paPath + @"\modelResult" + epc + ".txt", path + @"\index" + epc + ".txt", fileoffset, colorList[0]);
                    }
                    else
                    {
                        cvo.DrawDLInVedio(path + @"\epc" + epcList[i - 1] + ".avi",
                                          path + @"\epc" + epcList[i] + ".avi", paPath + @"\modelResult" + epc + ".txt", path + @"\index" + epc + ".txt", fileoffset, colorList[i]);
                    }

                    fileoffset += indexList.Count;

                    //if (i == testnum)
                    //  continue;
                }
            }
        }
Example #2
0
        public static void Test5()
        {
            CVO    cvo  = new CVO();
            String path = @"E:\Data7\2018-12-07-18-43-40-6917478";

            cvo.DrawDLInVedio(path + @"\3.avi",
                              path + @"\4.avi", @"C:\torcheye\TorchEye-master\a.txt", path + @"\index.txt", 0, colorList[0]);
        }
Example #3
0
        public static void DrawResult(String paPath)
        {
            List <String> paths      = IOTools.ListPaths(paPath);
            List <String> labelTotal = new List <string>();
            List <String> dataTotal  = new List <string>();
            List <String> timeTotal  = new List <string>();
            int           fileoffset = 0;
            CVO           cvo        = new CVO();

            foreach (String path in paths)
            {
                List <String> indexList = IOTools.ReadListFromTxt(path + @"\index.txt");
                cvo.DrawDLInVedio(path + @"\1.avi",
                                  path + @"\4.avi", @"C:\torcheye\TorchEye-master\a.txt", path + @"\index.txt", fileoffset, colorList[0]);
                fileoffset += indexList.Count;

                //if (i == testnum)
                //  continue;
            }
        }