Giter VIP home page Giter VIP logo

markkun / videotoimage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from btree-c802/videotoimage

0.0 1.0 0.0 63.17 MB

本程序可以将视频转换成单张RGB图像和其时间戳信息,因为现在的许多程序不是直接读取视频进行处理,使用该程序可以将视频转换成相应的一帧帧图像,该程序图片保存在文件名为rgb的文件夹中,在其之外会有一个rgb.txt的文件,这个文件则是时间戳信息,注意视频拍摄时可以是尺寸比较大的,但是转换之后,程序会将其最大像素边变成640像素大小,另一边按比例缩小。

CMake 9.21% C++ 90.79%

videotoimage's Introduction

VideoToImage

本程序可以将视频转换成单张RGB图像和其时间戳信息,因为现在的许多程序不是直接读取视频进行处理,使用该程序可以将视频转换成相应的一帧帧图像,该程序图片保存在文件名为rgb的文件夹中,在其之外会有一个rgb.txt的文件,这个文件则是时间戳信息,注意视频拍摄时可以是尺寸比较大的,但是转换之后,程序会将其最大像素边变成640像素大小,另一边按比例缩小。

启动方式:./MovToImage ../IMG_3681.MOV ./File1/ 第一项地址为在build下面的启动文件 第二项地址为需要转换的视频的地址及其名称,注意文件形式也要加上 第三项地址为数据需要储存的地址("File2"可自由更改,但是必须以“/”结束)

使用步骤: 第一步:在VideoToImage目录下新建一个名为build的文件夹 第二步:cd build 第三步:cmake .. 第四步:make 第五步:将需要转成rgb数据形式的数据集存入你想放置的文件夹,然后在终端中输入启动方式

videotoimage's People

Contributors

btree-c802 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.