opencvtracker丢失目标

opencvtracker丢失目标,第1张

1. 创建单个对象跟踪器(Tracker)

多对象跟踪器只是单个对象跟踪器的集合。我们首先定义一个函数,该函数将跟踪器类型作为输入并创建一个跟踪器对象。OpenCV具有8种不同的跟踪器类型:BOOSTING,MIL,KCF,TLD,MEDIANFLOW,GOTURN,MOSSE和CSRT。

我们定义一个跟踪器函数createTrackerByName:

通过输入跟踪器名称,返回对应类型的跟踪器。

2. 读取视频的初始帧

多对象跟踪器(MultiTracker)需要两个输入:

初始视频帧

通过边界框(boundingbox)确定的对象位置

来看代码:我们建立了程序入口,并设定默认追踪算法为CSRT算法(注:GOTURN算法需要安装配置Caffe)。从摄像头读取初始帧

3.在初始帧中找到对象

OpenCV提供了一个名为selectROI的功能,该功能会d出一个GUI以选择边界框(也称为关注区域(ROI))。

中文名称:随它吧

外文名称:Let It Go

所属专辑:《冰雪奇缘》原声带

歌曲时长:3:45

发行时间:2013年11月25日

歌曲原唱:黛米·洛瓦托,伊迪娜·门泽尔

填词:罗伯特·洛佩兹,克里斯汀·安徒生-洛佩兹

谱曲:罗伯特·洛佩兹,克里斯汀·安徒生-洛佩兹

编曲:罗伯特·洛佩兹,克里斯汀·安徒生-洛佩兹

音乐风格:流行曲调

MV导演:Declan Whitebloom

歌曲语言:英语

主要奖项:第86届奥斯卡最佳原创歌曲奖

中国演唱者:胡维纳,姚贝娜,

Let it go, let it go

Can't hold it back anymore

Let it go, let it go

Turn away and slam the door

The snow glows white on the mountain tonight

Not a footprint to be seen.

A kingdom of isolation,

and it looks like I'm the Queen

The wind is howling like this swirling storm inside

Couldn't keep it in

Heaven knows I've tried

Don't let them in,

don't let them see

Be the good girl you always have to be

Conceal, don't feel,

don't let them know

Well now they know

Let it go, let it go

Can't hold it back anymore

黛米·洛瓦托

Let it go, let it go

Turn away and slam the door

And here I stand

And here I'll stay

Let it go, let it go

The cold never bothered me anyway

It's funny how some distance makes everything seem small

And the fears that once controlled me can't get to me at all

Up here in the cold thin air where I finally can breathe

I know I left a life behind but I'm too relieved to grieve

Let it go, let it go

Can't hold it back anymore

Let it go, let it go,

Turn my back and slam the door

And here I stand

And here I'll stay

Let it go, let it go

The cold never bothered me anyway

Standing - frozen in the life I've chosen

You won't find me, the past is still behind me

Buried in the snow

Let it go, let it go

Can't hold it back anymore

Let it go, let it go,

Turn my back and slam the door

And here I stand

And here I'll stay

Let it go, let it go

The cold never bothered me anyway

Let it go, let it go, and here I stand,

let it go, let it go. Let it go


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/11533050.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-16
下一篇 2023-05-16

发表评论

登录后才能评论

评论列表(0条)

保存