Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to merge two configs #12

Open
saerdnaer opened this issue May 22, 2017 · 0 comments
Open

Add script to merge two configs #12

saerdnaer opened this issue May 22, 2017 · 0 comments

Comments

@saerdnaer
Copy link
Member

Sinnvoll für Kamera/OpenCV config der Decke im Hauptraum.

m2 = zip(* (zip(*matrix)[::-1]))[::-1] # matrix um 180 grad drehen

print(get_matrix(m2))

[[(0x57,0), (0x47,1)],
[(0x6D,0), (0x4A,1)],
[(0x17,0), (0x41,1)],
[(0x42,0), (0x3F,1)],
[(0x67,0), (0x39,1)],
[(0x20,0), (0x38,1)],
[(0x5A,0), (0x43,1)]]

oben einfügen oder unten einfügen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant