Skip to content

cyang1/super-stats-bros-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

==========
README
==========
Authors: @cyang1, @jbloxham, @rkaplan

---------------------------------------------------------------------------
Overview
---------------------------------------------------------------------------

TODO: Write something here.

What follows is instructions on building the code, running the program, and
a description of the source files.

This README and the CMake build system for this project were largely adapted
from projects in CMU's 15-462, Computer Graphics.

---------------------------------------------------------------------------
Prerequisites
---------------------------------------------------------------------------

There are some libraries required for this to compile, namely OpenCV (for
image reading/writing and colorspace conversion). To install OpenCV with
brew, run:

brew install opencv3 --c++11 --with-cuda --with-ffmpeg --with-tbb
brew link opencv3 --force

---------------------------------------------------------------------------
Building the Code
---------------------------------------------------------------------------

This project uses the CMake build system (www.cmake.org). CMake is a kind of
"meta build-system," in that it creates a build system for you. It supports
many different build systems, ranging from Unix Makefiles to Visual Studio
projects to XCode projects.

1) If you don't have CMake installed, you should install it. If you're running
    Linux, it should be available through your disto's package manager
    (apt-get, pacman, ports, etc). Windows and OSX installers can be downloaded
    from http://www.cmake.org/cmake/resources/software.html
2) Open up a command prompt in the "build" directory and run "cmake ../src".
    CMake will generate the build system in the build directory. By default,
    CMake will generate Makefiles on Linux and OSX and a Visual Studio project
    on Windows. If you'd like to change that, you can pass a different
    "generator" to cmake with the -G flag. A full list of generators can be
    found at the bottom of the output generated by running "cmake". For
    example, "cmake -G 'Xcode' ../src" will generate an Xcode project on OSX.
3) You can now use the build system in the "build" directory. The default
    target will compile everything for you, and the "install" target will copy
    the executable to the main "final_project" directory.

NOTE: This project has only been tested on OS X Yosemite, compilation on other
targets is not gauranteed.

WARNING: This project will only compile with GNU-based compilers and will most
likely not run on Windows as the proper runtime libraries are not included.

---------------------------------------------------------------------------
Running the Program
---------------------------------------------------------------------------

./superstatsbros [options] input
Program Options:
  -h  --help
      This message
  input
      The input video or capture device index.

---------------------------------------------------------------------------
Source Files and Directory Structure
---------------------------------------------------------------------------

A description of the top-level directories and all source/header file pairs
follows.

README                   -- This file.

assets/                  -- Sprites from Melee, for template matching.
                             (C) Nintendo Co., Ltd

src/build/*              == Build system stuff.
    CMakeLists.txt       -- Compiler flags can be adjusted by editing the
                              list in here.

src/superstatsbros/      == Project-specific files.
    main                 -- Main function, and application backend.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published