Frame differencing for motion detection/moving object in image

8 ビュー (過去 30 日間)
Domi
Domi 2020 年 5 月 27 日
回答済み: Asmita 2023 年 4 月 19 日
Hello Community!
I am doing a frame differency of a camera image where I substract the delayed frame from the current frame with thresholding followed by closing and blob analysis. The image is a binary picture (live image which gets processed by sobel filter in simulink). Blob Analysis config is: number of blobs 2. No variable size but fill value. No image borders. I select the first row of the bbox output and get the centroid of my moving object.
While it detects my movable object I have problem I cannot conclude to solve:
While moving my object it gets detected, but when I put another object into the field of view, which was not in the scene before it gets detected and stops the detection of the dynamic object for this sample. While it being static and the dynamic object is still moving, the detection goes right back to the dynamic one.
Is there a way to ignore new upcoming objects?
Best regards

回答 (2 件)

vaibhav mishra
vaibhav mishra 2020 年 6 月 30 日
Hi there,
i would suggest to use viola jones object detection framework+ optical flow to track the motion of any object of interest. this will surely give good results.

Asmita
Asmita 2023 年 4 月 19 日
frame differencing

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by