Skip to content
Miro Voellmy edited this page Apr 3, 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

Navigate to folder containing the clips and run: for i in *.avi; do ffmpeg -i "$i" "${i%.avi}.mov"; done

Clone this wiki locally