motion tracking using OpenCV ....


I work on implement motion track system with openCv base this tutorial " ",so, added the KCF tracker and create object and etc … , everything work fine but my problem is i don’t know where can update tracker frame,my goal is tracking any movement object by under mouse click.Thanks for any help.


// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don’t need it.
PrimaryActorTick.bCanEverTick = true;
// Called every frame
virtual void Tick(float DeltaSeconds) override;