xmar / 360degree_head_movement_dataset Goto Github PK
View Code? Open in Web Editor NEWSource code for a 360 degree video player and head movement logger for a HMD using the OSVR API
Source code for a 360 degree video player and head movement logger for a HMD using the OSVR API
Hello xavier,
I have some questions about how can you convert the dataset (format :quaternion ) to a latitude and longitude graph.
Like this :
Quaternion data is rotation data but latitude and longitude data is absolute value. if I want to convert ,maybe I need a start point ,but if I use a same start point ,it doesn't have a good distribution。I have made some graph like this :
the red point is my start point ,I don't know the right start point.
When I try to invoke the ~/360Degree_Head_Movement_Dataset/PythonInterface$ sudo bash startTestManager.sh
I get
2020-01-23 17:25:47,795 - TestManager.Helpers.Test - INFO - Configure a new test for Ananya S: testId 1, videoId Rollercoaster-8lsB-P8nGSM
2020-01-23 17:25:47,795 - TestManager.Helpers.Test - DEBUG - Generate ini file: results/uid-82798598-f76a-4c57-a563-a5bd49266923/test1/Rollercoaster-8lsB-P8nGSM.ini
2020-01-23 17:25:47,795 - TestManager.GUIHelpers.TestSessionFrame - INFO - Next test for Ananya S using video Rollercoaster-8lsB-P8nGSM
Uncatched exception: character conversion failed
Options:
-h [ --help ] Produce this help message
-c [ --config ] arg Path to the configuration file
Am using boost 1.63. Someone suggested that the link path and discovery path might be different. But I couldn't get further than that. Can someone help ?
I am getting this error on building the project:
LibAvWrapper/libLibAvWrapper.a(VideoReader.cpp.o): In function
IMT::LibAv::VideoReader::RunDecoderThread()':
VideoReader.cpp:(.text+0x18ce): undefined reference to avcodec_send_packet' VideoReader.cpp:(.text+0x1d15): undefined reference to
avcodec_send_packet'
VideoReader.cpp:(.text+0x1ffa): undefined reference to avcodec_send_packet' LibAvWrapper/libLibAvWrapper.a(VideoReader.cpp.o): In function
IMT::LibAv::VideoFrame::AvCodecReceiveFrame(AVCodecContext*)':
VideoReader.cpp:(.text._ZN3IMT5LibAv10VideoFrame19AvCodecReceiveFrameEP14AVCodecContext[_ZN3IMT5LibAv10VideoFrame19AvCodecReceiveFrameEP14AVCodecContext]+0x23): undefined reference to avcodec_receive_frame' collect2: error: ld returned 1 exit status CMakeFiles/OSVRClientTest.dir/build.make:204: recipe for target 'OSVRClientTest' failed make[2]: *** [OSVRClientTest] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/OSVRClientTest.dir/all' failed make[1]: *** [CMakeFiles/OSVRClientTest.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2
FFMPEG Version:
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu/Linaro 6.3.0-18ubuntu2~16.04) 20170519 configuration: --prefix=/home/an/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/an/ffmpeg_build/include --extra-ldflags=-L/home/an/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/an/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100
Hi xmar,
Thanks for your sharing. It is very exciting to me.
I successfully build and run the latest version of the player by following your README. My OS is Ubuntu 16.04.
I want to know whether the player supports CubeMap projection.
I check your code and find that MeshCubeEquiUV is for Equirectangular projection and MeshCube is for CubeMap projection. However, MeshCube is never used when playing videos. Thus, I create videos with CubeMap(3x2) projection by your 360Transformations project like the below screenshot.
I then modify the player to make it render CubeMap mesh you write, but it seems that it can not normally render viewports. It fails to convert CubeMap back to spherical domain.
If I misunderstand any of parts of your project, please let me know.
Thank you,
ShunHuai.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.