This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import math | |
from lib.ev3 import EV3 | |
def decode_fourcc(v): | |
# https://amdkkj.blogspot.com/2017/06/opencv-python-for-windows-playing-videos_17.html | |
v = int(v) | |
return "".join([chr((v >> 8 * i) & 0xFF) for i in range(4)]) | |
cap = cv2.VideoCapture(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[General] | |
machineId=9 | |
profileName=silent_PLA | |
materialId=1 | |
supportMaterialId=-1 | |
varLHeightEnable=false | |
layerHeight="@Variant(\0\0\0\x87=\xf5\xc2\x8f)" | |
firstHeight=@Variant(\0\0\0\x87>L\xcc\xcd) | |
varZHeights= | |
baseSpeed=@Variant(\0\0\0\x87\x42 \0\0) |