final state of tracker before code reorganization

main
mwinter 12 months ago
parent 61dd859de7
commit e3f83bfb22

@ -243,7 +243,7 @@ cv2.setMouseCallback("Frame", moveROI)
#picam2.controls.ScalerCrop = (800, 0, 3040, 3040)
#picam2.controls.ScalerCrop = (1375, 550, 1800, 1800)
picam2.controls.ScalerCrop = (945, 630, 2025, 2025)
picam2.controls.ScalerCrop = (915, 630, 2025, 2025)
#picam2.controls.Brightness = 0.2
picam2.controls.Contrast = 1.1
#picam2.set_controls({"ExposureValue": 2})

@ -137,10 +137,10 @@ imgSelect = {
dirTuplesSeq = 2.collect({dirTuples.deepCopy.scramble.collect({arg tup; [tup, tup * -1]}).flatten}).flatten;
dirAdjustRoutine = Routine({
120.wait;
imgPositions[imgIndex] = curPos.deepCopy;
//imgPositions[imgIndex] = curPos.deepCopy;
trackLock = true;
//10.wait;
100.do({arg dirAdjust;
16.do({arg dirAdjust;
"here".postln;
if(dirAdjust < 8, {
tarPos = imgPositions[imgIndex].deepCopy + (dirTuplesSeq[dirAdjust] * 200);

Loading…
Cancel
Save