帮酷LOGO

Low-cost DIY 360 camera video capture and stitching

低成本 DIY 360摄像机视频捕捉和拼接

将光标移到/点击文章中的句子上,可以查看译文。 显示原文      显示译文      双语对照

  • 显示内容
Low-cost, end-to-end VR solution concept; Handles capture, stitching and cross-platform display on mobile devices



  • Source Code:oneVR_devel
  • WebSite:http://www.github.com/felixtsao/oneVR_devel
  • oneVR_devel Documents
  • oneVR_devel Download
  • one VR

    Banner

    A low-cost, DIY, VR/360 video solution

    A low-cost, virtual reality, 360 camera system along with a mobile web 360 player application, forms an end-to-end solution; from capture to viewing.

    Designs based around using off-the-shelf hardware/software.Parameterized 3D model files allow for easy generation of camera mounts to fit most small, rectangular cameras like GoPro, SJCAM, Xiaomi and NoPro.Parameterization also allows scalability to reach 4K resolution and beyond.the example SJ4000 rig costs less than $500 USD to build and achieves 4K resolution.

    Video stitching methods include using accessible software and custom scripts provided by this repository.

    Project started Spring break 2015 with some good friends and further developed through a Computational Photography class, CS 534.Hardware resources/funding by Garage Physics at University of Wisconsin, Madison.

    example results

    4K 60 fps 8x Xiaomi Yi ITE Building
    4K 30 fps 7x SJ4000 Vibration Test
    4K 30 fps 6x SJ4000 Madison Capitol

    Motivation

    360 video is an exciting medium that was recently supported by video sharing sites like YouTube, Facebook and Vimeo.Unfortunately, content creation has remained limited due the high cost-of-entry in acquiring 360 cameras and video stitching software.Professional solutions range from thousands to tens of thousands of dollars and has low accessibility.Cost-friendly, consumer 360 cameras exist on the market but are limited to sub 4K resolutions, which suffer from pixelation in 360 playback.

    This repository aims to provide a high-quality solution while being accessible to 360 filmmakers on a budget.the optimal target cost for a full 360 video solution is under or around $500.

    Additionally, concensus in the creative community is that a different approach from traditional filmmaking techniques must be used in developing meaningful 360 video.this is because applying panning motions and camera dollys like in traditional film may cause excessive disorientation in 360 video.another challenge is that users may look in directions that are not intended for by the director/news-anchor.

    Increasing accessibility of 360 cameras will allow more creative individuals to contemplate the artistic representation and navigation issues of 360 video.it is only beneficial to allow more people to address the challenge which can improve the collective understanding of art, filmmaking and journalism.

    Pipeline

    Pipeline

    Directories

    /360warper - A standalone image/video warper to be used with video compositing tools like AFX, Blender, Nuke
    /cam - 3D printable 360 camera rig files ( .stl ), generator files ( .scad ) and camera control commands
    /cpp - Automated video stitching (in development, see video tutorial below for manual solution )
    /img - Documentation, reference and source images
    /viewer - Basic VR 360 video/image player for web browsers

    Multi-camera system overview

    Version 2

    Version 3

    Version 2 left, pictured without upper mount.Version 3 on right with optional top camera expansion module.

    Captures monoscopic video in 360 degrees horizontal and ~135 degrees vertical.six individual streams are stitched and blended together into a cohesive panoramic video.

    6 SJ4000 cameras arranged outwards is just barely enough information to create a 360 video and requires a decent amount of user input to stitch in after Effects.using 5 SJ4000 cameras seated horizontally would help automated stitching a lot at the cost of some vertical field of view.using more cameras is ideal, but drives up cost and requires a more powerful computer for stitching.Modifying lenses of the cameras with wider angle replacements is also a solution.if planning to build with out-of-box SJ4000s oriented vertically, using 8 cameras is a safe option, 7 will be bare minimum.

    Bill of Materials - Hardware & Software

    Listed below are items i have tested but any of them can be swapped out with other items that serve a similar purpose.Search 3DHubs to find access to a nearby 3D printer.some libraries have printers as well.or build your own RepRap as a support project.

    Hardware

    Bill of Materials

    a. 6 or more SJ4000 action cameras (~$60 each), Alternatives include GoPro, Xiaomi (may need to modify 3D models).can use less cameras by replacing stock lenses with wide angle lenses for Xiaomi and SJ4000.
    b. A lower bracket/apparatus to seat cameras.Modify existing CAD designs in /cam directory to meet camera choice.
    c. A matching upper apparatus to secure cameras.Likewise, modify existing CAD designs in /cam directory to meet camera choice.
    d. (Optional) Zenith module for housing a single additional zenith camera i.e."Sky Camera."
    e. Standard Tripod
    f. Standard computer, relatively powerful GPU for image processing preferred
    g. any mobile device with a modern web browser
    h. A headmounted display to house mobile device for VR viewing like Cardboard or print one from Thingiverse.

    h1 - 1x 1/4"-20 bolt for securing top mount to bottom mount.for SJ4000s, length of bolt must be> 3".may be different for other camera selections.Ideally, choose a length that allows bolt to stick past bottom mount an inch or two to connect to tripod with coupling bolt 'h7. '
    h2 - 2x Washers for 1/4"-20 bolt.
    h3 - 1x 1/4"-20 nut for tightening under bottom mount.

    h4 - h6 only applies if using top camera module
    h4 - 2x 6 -32 screws (> 1.5" length) to mount top camera expansion module.
    h5 - 4x #6 washers.
    h6 - 2x 6 -32 nuts.

    h7 - 1x 1/4"-20 coupling nut for joining entire setup to tripod head.

    (Optional) Switch to gen-lock/sync record controls for cameras, necessary to mitigate rolling shutter when capturing scenes with fast motion, also provides convenience for starting/stopping recording, requires soldering

    Genlock Switch

    Software list
    • OpenSCAD for rapid, parameterized prototyping of 3D printable VR camera mounts (Free )
    • after Effects CC for basic stitching using warp plugins (Free trial, then monthly subscription )
    • (Optional) Stitching plugins for after Effects like Skybox Mettle, PTGui, Kolor or VideoStitch for professional stitching results (> $90 )
    • Blender for alternative stitching method to after Effects, also includes capabilites to composite text and 3 D.(Free )
    • YouTube 360 Injector for tagging proper metadata to final 360 video for properly uploading to YouTube (Free )

    Stitching Techniques

    Video Tutorial : Hand-stitching in after Effects (Quick)
    Video Tutorial : Hand-stitching (Detailed using 360warper script)
    or
    For fully automated process,compile and run stitcher in /cpp (still in the works )

    Stitcher uses ORB feature descriptor pairs to register overlapping images.ORB is also free from patent restrictions.Feature MatchesFeature Matches

    Viewing

    Web VR 360 Player - Demo Link

    Visit `/viewer` directory for usage and source code.

    3D Printing

    Print camera mount yourself or find a local printer through 3DHubs or the local library.

    Older version of mono_lower_6x_sj4000.stl printed on a Makerbot Replicator 2 with Red PLA.the mount takes about 4 hours to print if things go smoothly!Newer version of mount printed on an open-source Prusa i3 design, right, with a layer height of 0.27 mm through a 0.4 mm extruder nozzle.

    Makerbot

    Prusa i3

    Creating a new camera mount

    Files are located in /cam directory, organized by camera model.to create a new camera mount, open the closest existing .scad file and adapt it by changing the camera trench dimensions.Camera dimensions are listed as variables at the top of the .scad files and should globally change the trench sizes across the mount.to add more cameras, simply increase the distance of the optical center and make additional copies of the trenches and assign each trench with the appropriate angle.the numbers are technically unitless but they default to millimeter for most printers.be sure to add 1 to the value used for the camera dimension for a little breathing room.

    //TODO

    • Create automated video stitching (Implement feature detector )
    • Top/bottom camera transform for AFX stitch method using Blender or script
    • Make video tutorial for hand-stitching 360 videos in AFX

    Technical References




    Copyright © 2011 HelpLib All rights reserved.    知识分享协议 京ICP备05059198号-3  |  如果智培  |  酷兔英语