motion tracking object matlab
現在この質問をフォロー中です
- フォローしているコンテンツ フィードに更新が表示されます。
- コミュニケーション基本設定に応じて電子メールを受け取ることができます。
エラーが発生しました
ページに変更が加えられたため、アクションを完了できません。ページを再度読み込み、更新された状態を確認してください。
古いコメントを表示
0 投票
I'm italian student,sorry for my english. Dissertation title is :motion tracking object in a video with matlab. Can you help me ?
採用された回答
Image Analyst
2013 年 10 月 19 日
編集済み: Image Analyst
2013 年 10 月 19 日
Get the Computer Vision System Toolbox: http://www.mathworks.com/products/computer-vision/description5.html Of course you'll have to do some kind of different tracking than is built into MATLAB because a dissertation is supposed to be your own new-to-the-world invention, not just applying some algorithm that already exists.
11 件のコメント
luigi
2013 年 10 月 20 日
Hi, I know what to do but I have difficulty using matlab.I my steps are: 1. The input video is converted into frames. We capture two consecutive frames, i.e. frame N and frame N+1. 2. We convert each of these frames to gray scale. 3. We subtract frame N from frame N+1, to generate the difference image. 4. We run canny edge detection technique 5. We identify moving edge segments and also draw a bounding box over it. 6. The centroid is then calculated. 7. We can then calculate the distance moved by the object by calculating distance moved to the total frame rate. are the right steps ?
Image Analyst
2013 年 10 月 20 日
Step 4 is unnecessary. You don't need to do edge detection. See my demo attached below.
luigi
2013 年 10 月 21 日
I did a test code but when I run the code I get this error
??? Undefined variable "obj" or class "obj.reader.step".
Error in ==> tesi>readFrame at 43 frame = obj.reader.step();
Error in ==> tesi at 10 frame = readFrame();
Image Analyst
2013 年 10 月 21 日
You need to pass obj in to readFrame via the input argument list.
luigi
2013 年 10 月 21 日
Sorry,but i have another problem with this error. ??? Undefined variable "obj" or class "obj.detector.step".
Error in ==> tesi>detectObjects at 49 mask = obj.detector.step(frame);
Error in ==> tesi at 11 [centroids, bboxes, mask] = detectObjects(frame);
I might have to replace frame with obj,because frame and obj are defined
Image Analyst
2013 年 10 月 21 日
I can't go over every single error with you. You basically have to make sure that whenever you go to use a variable that it exists in the scope of the function you want to use it in. That might mean passing it in to the function.
luigi
2013 年 10 月 25 日
Hi, how can I add a bounding box in your code?
Image Analyst
2013 年 10 月 27 日
It's not my code - it's demo code from the Mathworks. If you click on the link I gave you'll see a link to the code: http://www.mathworks.com/help/vision/examples/face-detection-and-tracking-using-the-klt-algorithm.html
luigi
2013 年 10 月 27 日
thank you so much.....can you see this link please ? http://www.mathworks.it/matlabcentral/answers/91313-undefined-function-or-method-assigndetectionstotracks-for-input-arguments-of-type-double
Image Analyst
2013 年 10 月 27 日
I did, and I answered it.
luigi
2013 年 10 月 28 日
thank you very much
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Track Objects and Estimate Motion についてさらに検索
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
