Skip to content
Ian Stähli edited this page Apr 7, 2017 · 17 revisions

Welcome to the stove-state wiki!

Python OpenCV Indexing Info

Drawing functions are indexed [column, row]:

cv2.circle(img, (column, row), 10, 255)

Numpy Arrays however are accessed [rows, column]:

img[row, column]

[B G R] # Color information is returned as B-G-R vector.

opencv_indexing

How to convert *.h264 files to *.mp4 using FFMPEG

Navigate to folder containing the clips and run:

for i in *.h264; do ffmpeg -i "$i" "${i%.h264}.mp4"; done

Windows: for %i in (*.h264) do ffmpeg -i "%i" "%i.mp4"

Clone this wiki locally