diff --git a/Calculations/laser-img/2026-02-21-231158.jpg b/Calculations/laser-img/2026-02-21-231158.jpg deleted file mode 100644 index 79bc28a..0000000 --- a/Calculations/laser-img/2026-02-21-231158.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa2234c5b82ee3dea8dc68447ee66bfb01bbc046cab266702f623ad99ad1e1c1 -size 556152 diff --git a/Calculations/laser-img/2026-02-21-231248.jpg b/Calculations/laser-img/2026-02-21-231248.jpg deleted file mode 100644 index 0352e02..0000000 --- a/Calculations/laser-img/2026-02-21-231248.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8a602d4b37a2db77b2a7901753c156f7eda3994b905da7ad31f48af1be87072e -size 199035 diff --git a/Calculations/laser-img/2026-02-21-231334.jpg b/Calculations/laser-img/2026-02-21-231334.jpg deleted file mode 100644 index 05e434b..0000000 --- a/Calculations/laser-img/2026-02-21-231334.jpg +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87fa2757f5e6d9c73e04fee5fe39f392d710a162f5f37c24c0a8a430f3e03adf -size 147370 diff --git a/Calculations/laser-results/2026-02-22-fiber-beam-01.png b/Calculations/laser-results/2026-02-22-fiber-beam-01.png deleted file mode 100644 index f28a1c9..0000000 --- a/Calculations/laser-results/2026-02-22-fiber-beam-01.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa3ec300c6acb47f0458bc0e477b1484077349543089ff5862480f7b95cd13b6 -size 404660 diff --git a/Calculations/laser-results/2026-02-22-fiber-beam-02.png b/Calculations/laser-results/2026-02-22-fiber-beam-02.png deleted file mode 100644 index 67eb965..0000000 --- a/Calculations/laser-results/2026-02-22-fiber-beam-02.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5f860a6d5f8d68bec6e2c91c1018f10db5aaa20519e09080460b90298cec7486 -size 279976 diff --git a/Calculations/laser-results/2026-02-22-fiber-beam-multimode.png b/Calculations/laser-results/2026-02-22-fiber-beam-multimode.png deleted file mode 100644 index 14d58de..0000000 --- a/Calculations/laser-results/2026-02-22-fiber-beam-multimode.png +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8831dda6101fc42232c017a95b7c1451e0e566f062bbccc9e13fe4943794ced0 -size 502303 diff --git a/Calculations/live_intensity.py b/Calculations/live_intensity.py index f44808d..9341bcf 100644 --- a/Calculations/live_intensity.py +++ b/Calculations/live_intensity.py @@ -2,7 +2,7 @@ import cv2 import numpy as np def main(): - capture = cv2.VideoCapture(2) + capture = cv2.VideoCapture(0) cv2.namedWindow("Camera", cv2.WINDOW_AUTOSIZE) while True: @@ -11,7 +11,7 @@ def main(): frame_mono = np.mean(frame, axis=2) intensity = np.mean(frame_mono) - print(f"\033[H\033[2J{intensity:6.3f}") + print(f"\033[H\033[2J{intensity:5.1f}") cv2.imshow('Camera', frame)