sift

http://en.wikipedia.org/wiki/Scale-invariant_feature_transform#David_Lowe.27s_method


http://www.scholarpedia.org/article/SIFT


http://blogs.oregonstate.edu/hess/sift-library-places-2nd-in-acm-mm-10-ossc/#more-176


http://blogs.oregonstate.edu/hess/code/sift/


http://www.ipol.im/pub/algo/my_affine_sift/


http://www.cs.ubc.ca/~lowe/keypoints/

________________________________________________________

http://ubuntuforums.org/showthread.php?t=1141293


No package 'gtk-engines-2' found

http://stackoverflow.com/questions/5461224/package-gtk-engines-2-was-not-found-in-the-pkg-config-search-path

down vote accepted

Had the same problem on my Ubuntu 10.10 box.

I found what file was needed by the build ("gdk/gdk.h") and saw that the gtk+-2.0 package (/usr/lib/pkgconfig/gtk+-2.0.pc) provided the include path to /usr/include/gtk-2.0, which the needed file exists relative to.

I edited src/Makefile and changed both CFLAGS and LIBS pkg-config lines from "pkg-config ... opencv gtk-engines-2" to "pkg-config ... opencv gtk+-2.0" and it built for me.



------------------------------convert avframe to opencv

https://lists.ffmpeg.org/pipermail/libav-user/2011-August/000557.html

I assume you mean opencv image format? The basic idea is something like
this:

avf2ipl(AVFrame * avf, IplImage * ipl)
    {
        if (swscontext == 0) swscontext = sws_getContext(context->width,
context->height, PIX_FMT_YUV420P, ipl->width, ipl->height, PIX_FMT_BGR24,
SWS_BILINEAR, 0, 0, 0);
        if (swscontext == 0) return;
        int linesize[4] = { ipl->widthStep, 0, 0, 0 };
        sws_scale(swscontext, avf->data, avf->linesize, 0, context->height,
(uint8_t **) & (ipl->imageData), linesize);
    }


ffmpeg cmd split & dump pic

FREQ=5
SS=90

mkdir ./imglist
rm -rf ./miglist/*
ffmpeg -i he2c.mp4 -y -ss $SS -an -sameq -f image2 -r 1/$FREQ ./imglist/he2c_%03d.jpg


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值