Comments (7)
Orangebox is a blackbox log parser library, but note that full blackbox processing isn't finished yet and you have to rely on blackboxtogpmf for now. In general you can install libraries using pip, in this case pip install orangebox
. If you're missing other packages, just install them in the same way. Some packages like cv2 have to be installed using a different name (opencv-python), but just search for it on google and you'll find it. If you get something working, please share the results here or in the discord server/FB group, that would be awesome.
from gyroflow.
Thank you for your feedback. Installing orange box haven't change a lot
(cv_cuda) PS C:\Temp\gyroflow-master\gyroflow-master> pip install orangebox
Collecting orangebox
Downloading orangebox-0.2.0-py3-none-any.whl (31 kB)
Installing collected packages: orangebox
Successfully installed orangebox-0.2.0
(cv_cuda) PS C:\Temp\gyroflow-master\gyroflow-master> python.exe .\gyroflow.py
Traceback (most recent call last):
File ".\gyroflow.py", line 13, in <module>
from stabilizer import GPMFStabilizer
File "C:\Temp\gyroflow-master\gyroflow-master\stabilizer.py", line 9, in <module>
from GPMF_gyro import Extractor
File "C:\Temp\gyroflow-master\gyroflow-master\GPMF_gyro.py", line 4, in <module>
import gpmf.parse as gpmf_parse
File "C:\Temp\gyroflow-master\gyroflow-master\gpmf\parse.py", line 10, in <module>
import construct
ModuleNotFoundError: No module named 'construct'
I'm python newbie, but have some experience with tensor flow and open cv, so a lot of (i think) required libs are already installed
(cv_cuda) PS C:\Temp\gyroflow-master\gyroflow-master> conda list
# packages in environment at C:\Users\kku\anaconda3\envs\cv_cuda:
#
# Name Version Build Channel
_tflow_select 2.1.0 gpu
absl-py 0.11.0 pyhd3eb1b0_1
aiohttp 3.6.3 py37he774522_0
astor 0.8.1 py37_0
async-timeout 3.0.1 py37_0
attrs 20.3.0 pyhd3eb1b0_0
blas 1.0 mkl
blinker 1.4 py37_0
brotlipy 0.7.0 py37h2bbff1b_1003
ca-certificates 2020.12.5 h5b45459_0 conda-forge
cachetools 4.2.0 pyhd3eb1b0_0
certifi 2020.12.5 py37h03978a9_0 conda-forge
cffi 1.14.4 py37hcd4344a_0
chardet 3.0.4 py37haa95532_1003
click 7.1.2 py_0
cryptography 3.3.1 py37hcd4344a_0
cudatoolkit 10.1.243 h74a9793_0
cudnn 7.6.5 cuda10.1_0
freeglut 3.2.1 h0e60522_0 conda-forge
freetype 2.10.4 h546665d_0 conda-forge
gast 0.2.2 py37_0
google-auth 1.24.0 pyhd3eb1b0_0
google-auth-oauthlib 0.4.2 pyhd3eb1b0_2
google-pasta 0.2.0 py_0
grpcio 1.31.0 py37he7da953_0
h5py 2.10.0 py37h5e291fa_0
hdf5 1.10.4 h7ebc959_0
icc_rt 2019.0.0 h0cc432a_1
icu 67.1 h33f27b4_0 conda-forge
idna 2.10 py_0
importlib-metadata 2.0.0 py_1
intel-openmp 2020.2 254
jasper 2.0.14 h77af90b_2 conda-forge
jpeg 9d h8ffe710_0 conda-forge
keras-applications 1.0.8 py_1
keras-preprocessing 1.1.0 py_1
libblas 3.9.0 1_h8933c1f_netlib conda-forge
libcblas 3.9.0 3_hd5c7e75_netlib conda-forge
libclang 10.0.1 default_hf44288c_1 conda-forge
libiconv 1.16 he774522_0 conda-forge
liblapack 3.9.0 3_hd5c7e75_netlib conda-forge
liblapacke 3.9.0 3_hd5c7e75_netlib conda-forge
libopencv 4.5.0 py37_6 conda-forge
libpng 1.6.37 h1d00b33_2 conda-forge
libprotobuf 3.13.0.1 h200bbdf_0
libtiff 4.2.0 hc10be44_0 conda-forge
libwebp-base 1.1.0 h8ffe710_3 conda-forge
libxml2 2.9.10 hf5bbc77_3 conda-forge
libxslt 1.1.33 h65864e5_2 conda-forge
lz4-c 1.9.3 h8ffe710_0 conda-forge
m2w64-gcc-libgfortran 5.3.0 6 conda-forge
m2w64-gcc-libs 5.3.0 7 conda-forge
m2w64-gcc-libs-core 5.3.0 7 conda-forge
m2w64-gmp 6.1.0 2 conda-forge
m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge
markdown 3.3.3 py37haa95532_0
mkl 2020.2 256
mkl-service 2.3.0 py37h196d8e1_0
mkl_fft 1.2.0 py37h45dec08_0
mkl_random 1.1.1 py37h47e9c7a_0
msys2-conda-epoch 20160418 1 conda-forge
multidict 4.7.6 py37he774522_1
numpy 1.19.2 py37hadc3359_0
numpy-base 1.19.2 py37ha3acd2a_0
oauthlib 3.1.0 py_0
opencv 4.5.0 py37_6 conda-forge
openssl 1.1.1i h8ffe710_0 conda-forge
opt_einsum 3.1.0 py_0
orangebox 0.2.0 pypi_0 pypi
pip 20.3.3 py37haa95532_0
protobuf 3.13.0.1 py37ha925a31_1
py-opencv 4.5.0 py37heaed05f_6 conda-forge
pyasn1 0.4.8 py_0
pyasn1-modules 0.2.8 py_0
pycparser 2.20 py_2
pyjwt 1.7.1 py37_0
pyopenssl 20.0.1 pyhd3eb1b0_1
pyreadline 2.1 py37_1
pyside2 5.13.2 py37h760f651_4 conda-forge
pysocks 1.7.1 py37_1
python 3.7.9 h60c2a47_0
python_abi 3.7 1_cp37m conda-forge
qt 5.12.9 hb2cf2c5_0 conda-forge
requests 2.25.1 pyhd3eb1b0_0
requests-oauthlib 1.3.0 py_0
rsa 4.6 py_0
scipy 1.5.2 py37h9439919_0
setuptools 51.0.0 py37haa95532_2
six 1.15.0 py37haa95532_0
sqlite 3.33.0 h2a8f88b_0
tensorboard 2.3.0 pyh4dce500_0
tensorboard-plugin-wit 1.6.0 py_0
tensorflow 2.1.0 gpu_py37h7db9008_0
tensorflow-base 2.1.0 gpu_py37h55f5790_0
tensorflow-estimator 2.1.0 pyhd54b08b_0
tensorflow-gpu 2.1.0 h0d30ee6_0
termcolor 1.1.0 py37_1
urllib3 1.26.2 pyhd3eb1b0_0
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
werkzeug 0.16.1 py_0
wheel 0.36.2 pyhd3eb1b0_0
win_inet_pton 1.1.0 py37haa95532_0
wincertstore 0.2 py37_0
wrapt 1.12.1 py37he774522_1
xz 5.2.5 h62dcd97_1 conda-forge
yarl 1.6.3 py37h2bbff1b_0
zipp 3.4.0 pyhd3eb1b0_0
zlib 1.2.11 h62dcd97_4
zstd 1.4.8 h4e2f164_1 conda-forge
Of course i will share my test results.
I'm also looking some guide, how to check gyro log offset, and how exactly it should be done.
I can imagine, that before flight there is need let say knock twice the camera, to shake it, then this patern in gyro data will be automatically detected by simple AI and matched with recorded video stream.... I going to try play with learning AI to that....
Kris
from gyroflow.
Just keep installing any missing packages using pip. The updated gyro sync algorithm I've been working on seem to be able to match it within +/- 1 frame pretty much every time now, regardless of movement, so I don't think shaking it will be needed after all.
from gyroflow.
Thank you it's working now!
Kris
from gyroflow.
File "gyroflow.py", line 5, in
import cv2
ModuleNotFoundError: No module named 'cv2'
Hello, what i can do for solve this problem?
from gyroflow.
@Abyl0109 This repo is legacy code, refer to https://github.com/gyroflow/gyroflow
from gyroflow.
I need to gitclone this link right?
from gyroflow.
Related Issues (20)
- Resolution adaptation
- Attempting to use h264_nvenc gives `BrokenPipeError`
- cli.py is broken HOT 1
- Can't join discord HOT 1
- 1.0 version crashing after uploading blackbox log
- v1.0.0 Blackbox data from INAV not imported HOT 1
- Sensor logger iPhone
- Runcam Thumb HOT 1
- Phone app logs error: unsupported file format HOT 1
- Add some test video and data
- Blue spinning circle when syncing
- Gyroflow exported video issue HOT 3
- Gyroflow preview image goes black when motion data is added - V1.01 & V1.0
- Batch video processing or command line interface?
- Video lag after export HOT 1
- Lens profile disappeared after failure to export HOT 1
- Too few sync points
- Error with export GF845M
- Can't add motion data to lens calibrator
- Black Orbs Visible Throughout footage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gyroflow.