ihpdep / rpt

a tracker based on reliable patches
31 stars 20 forks source link

代码运行出错??? #3

Open seehidre opened 5 years ago

seehidre commented 5 years ago

您好!最近看了您的这篇文章,对它很感兴趣,所以下载了您的代码,想运行看一下效果,但是运行时却报出了一系列错误:

错误使用 ~= 输入参数太多。 出错 show_video (line 19) ne instance per frame 出错 tracker (line 44) update_visualization = show_video(img_files, video_path, resize_image); 出错 run_tracker (line 126) [positions,targetSize, time] = tracker(video_path, img_files, pos, target_sz, ... 出错 run_tracker (line 108) [precision, fps] = run_tracker(video, kernel_type, ... 个人对matlab不是特别懂,我使用的平台是window8.1+Matlab_R2015b,所以能否告知一下,这是怎么回事啊??

ihpdep commented 5 years ago

Thanks for your interesting. Could you download the source code and try again. I updated the code to remove some deprecated feature in older Matlab version.

seehidre commented 5 years ago

谢谢您的回复,问题已经解决了,主要是源代码格式出现了问题,在我的机器上打开后,部分注释和代码,莫名地被截断,换了行。