Git Product home page Git Product logo

fisheyestitcher's People

Contributors

drnoob13 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fisheyestitcher's Issues

Support for 2560x1280 video resolution

Hi,

We have a Samsung gear 360, which records video at 2560x1280 at 60fps.
Wondering if this software can be used for our camera?

Our gear 360 does not have an option for 3840x1920.

"make" problem

hello.

I would appreciate it if you tell me how to solve it.

mkdir build
==================================================================================
cd build
==================================================================================
cmake ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success
-- Found OpenCV: /usr/local (found version "4.4.0")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/codes/cpp/fisheyeStitcher/build
==================================================================================
make
Scanning dependencies of target stitcher
[ 25%] Building CXX object CMakeFiles/stitcher.dir/src/fisheye_stitcher.cpp.o
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp: In member function ‘cv::Mat stitcher::FisheyeStitcher::deform(const cv::Mat&)’:
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp:181:51: error: ‘CV_INTER_LINEAR’ was not declared in this scope
cv::remap(src, dst, m_mls_map_x, m_mls_map_y, CV_INTER_LINEAR,
^~~~~~~~~~~~~~~
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp:181:51: note: suggested alternative: ‘CV_INLINE’
cv::remap(src, dst, m_mls_map_x, m_mls_map_y, CV_INTER_LINEAR,
^~~~~~~~~~~~~~~
CV_INLINE
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp: In member function ‘void stitcher::FisheyeStitcher::createBlendMask()’:
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp:334:64: error: ‘CV_INTER_LINEAR’ was not declared in this scope
cv::remap(ring_mask, ring_mask_unwarped, m_map_x, m_map_y, CV_INTER_LINEAR,
^~~~~~~~~~~~~~~
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp:334:64: note: suggested alternative: ‘CV_INLINE’
cv::remap(ring_mask, ring_mask_unwarped, m_map_x, m_map_y, CV_INTER_LINEAR,
^~~~~~~~~~~~~~~
CV_INLINE
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp: In member function ‘cv::Point2f stitcher::FisheyeStitcher::findMatchLoc(const cv::Mat&, const cv::Mat&, const string&, bool)’:
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp:480:24: error: ‘CV_TM_CCORR_NORMED’ was not declared in this scope
int match_method = CV_TM_CCORR_NORMED;
^~~~~~~~~~~~~~~~~~
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp: In member function ‘cv::Mat stitcher::FisheyeStitcher::stitch(const cv::Mat&, const cv::Mat&)’:
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp:957:29: error: ‘CV_INTER_LINEAR’ was not declared in this scope
CV_INTER_LINEAR);
^~~~~~~~~~~~~~~
/home/user/codes/cpp/fisheyeStitcher/src/fisheye_stitcher.cpp:957:29: note: suggested alternative: ‘CV_INLINE’
CV_INTER_LINEAR);
^~~~~~~~~~~~~~~
CV_INLINE
CMakeFiles/stitcher.dir/build.make:62: recipe for target 'CMakeFiles/stitcher.dir/src/fisheye_stitcher.cpp.o' failed
make[2]: *** [CMakeFiles/stitcher.dir/src/fisheye_stitcher.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/stitcher.dir/all' failed
make[1]: *** [CMakeFiles/stitcher.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

thank you.

Make Issue

Hi, I know the latest update has been a long while, but still interested to try out your code.

First of all, thanks for publishing.

I try to build you code, but keep getting this issue:

printer@printer-MacBookPro:~/fisheyestitcher/build$ make
[ 50%] Built target stitcher
Scanning dependencies of target fisheyeStitcher
[ 75%] Building CXX object CMakeFiles/fisheyeStitcher.dir/app/stitch.cpp.o
In file included from /home/printer/fisheyestitcher/app/stitch.cpp:9:0:
/home/printer/fisheyestitcher/include/input_parser.hpp:173:10: error: ‘variant’ in namespace ‘std’ does not name a template type
std::variant<bool, std::string> get(Options Opt)
^~~~~~~
/home/printer/fisheyestitcher/app/stitch.cpp: In function ‘int main(int, char**)’:
/home/printer/fisheyestitcher/app/stitch.cpp:20:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
string video_path = std::get(Parser.get(Options::OPT_VIDEO_PATH ));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:21:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
string out_dir = std::get(Parser.get(Options::OPT_OUTPUT_DIR ));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:22:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
string image_name = std::get(Parser.get(Options::OPT_IMAGE_NAME ));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:23:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
string mls_map_path = std::get(Parser.get(Options::OPT_MLSMAP_PATH ));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:24:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
bool enb_lc = std::get(Parser.get(Options::OPT_ENB_LIGHT_COMPEN));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:25:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
bool enb_ra = std::get(Parser.get(Options::OPT_ENB_REFINE_ALIGN));
^~~
CMakeFiles/fisheyeStitcher.dir/build.make:62: recipe for target 'CMakeFiles/fisheyeStitcher.dir/app/stitch.cpp.o' failed
make[2]: *** [CMakeFiles/fisheyeStitcher.dir/app/stitch.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/fisheyeStitcher.dir/all' failed
make[1]: *** [CMakeFiles/fisheyeStitcher.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Running Linux 18.04.6

Would you have any idea what is going on here?

a compiling error

if( cidx < first_zero_col || cidx > W_-first_zero_col ) { mask_.at<cv::Vec3b>(cv::Point(cidx,ridx)) = cv::Vec3b(255,255,255); }

line356-line359 in fisheye_stitcher.cpp, cidx is not assigned

Java version for android?

Would it be possible, or efficient enough, to have a java version of this code for Android? I'm looking to stitch images instead of videos.

Audio output?

Does the fisheyestitcher support audio?
it seems the videos I passed thru it lost their audio?
how can I preserve the audio?

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.