commit 1964e8fa4c35401075894833413735a96769d974 Author: Nathan van Ofwegen Date: Mon Apr 3 23:14:42 2023 +0200 init diff --git a/data.csv b/data.csv new file mode 100644 index 0000000..12ddbb7 --- /dev/null +++ b/data.csv @@ -0,0 +1,12 @@ +#,X,Y,Z,Planeet +2,-0.98181527372170,0.00000000000000,-0.18983879552606, +3,-0.73564182776852,0.64449044863310,-0.20847820715387, +4,-0.73564182776852,-0.64449044863310,-0.20847820715387, +11,-0.33732482508860,-0.39831700267993,0.85296865578697, +1,-0.20847820715387,0.73564182776852,-0.64449044863310, +10,0.00000000000000,-0.18983879552606,-0.98181527372170, +7,0.33732482508860,-0.39831700267993,-0.85296865578697, +6,0.39831700267993,-0.85296865578697,-0.33732482508860, +9,0.39831700267993,-0.85296865578697,0.33732482508860,Zauber +8,0.64449044863310,-0.20847820715387,0.73564182776852, +5,0.98181527372170,0.00000000000000,-0.18983879552606, diff --git a/finder.py b/finder.py new file mode 100644 index 0000000..6159ebe --- /dev/null +++ b/finder.py @@ -0,0 +1,75 @@ +import cv2 +from matplotlib import pyplot as plt +from numpy import floor + +method = cv2.TM_SQDIFF_NORMED + +# Read the images from the file +energy_image = cv2.imread('glyphs-a-energy.png', cv2.IMREAD_GRAYSCALE) +large_image = cv2.imread('radofdispear.png', cv2.IMREAD_GRAYSCALE) + +orb = cv2.ORB_create() + +# screenshot = cv2.resize(large_image, down_points, interpolation= cv2.INTER_LINEAR) + + +for i in range(64): + mod8 = i % 8 + + x1 = (int(floor(i / 8))) * 256 + y1 = (int(mod8)) * 192 + + x2 = x1 + 256 + y2 = y1 + 192 + + # print(x1, y1, x2, y2) + small_image = energy_image[y1:y2, x1:x2] + # print(small_image) + plt.imshow(small_image) + plt.show() + + kp1, des1 = orb.detectAndCompute(small_image, None) + kp2, des2 = orb.detectAndCompute(large_image, None) + + img1 = small_image + img2 = large_image + + # result = cv2.matchTemplate(small_image, large_image, method) + + # print(result) + bf = cv2.BFMatcher(cv2.NORM_HAMMING, crossCheck=True) + # Match descriptors. + matches = bf.match(des1, des2) + # Sort them in the order of their distance. + matches = sorted(matches, key=lambda x: x.distance) + # Draw first 10 matches. + img3 = cv2.drawMatches(img1, kp1, img2, kp2, matches[:10], None, flags=cv2.DrawMatchesFlags_NOT_DRAW_SINGLE_POINTS) + + img3 = cv2.resize(img3, dsize=(int(3840 / 2), int(2180 / 2))) + + cv2.imshow('output', img3) + cv2.waitKey(0) + break + # break + # # We want the minimum squared difference + # mn, _, mnLoc, _ = cv2.minMaxLoc(result) + # # + # # Draw the rectangle: + # # Extract the coordinates of our best match + # MPx, MPy = mnLoc + # + # print(MPx, MPy) + # # + # # # Step 2: Get the size of the template. This is the same size as the match. + # # trows, tcols = small_image.shape[:2] + # # + # # # Step 3: Draw the rectangle on large_image + # # cv2.rectangle(large_image, (MPx, MPy), (MPx + tcols, MPy + trows), (0, 0, 255), 2) + # cv2.imshow('output', small_image) + # cv2.waitKey(0) + # break +# # Display the original image with the rectangle around the match. +# cv2.imshow('output', large_image) +# +# # The image is only displayed if we call this +# diff --git a/glyphs-a-energy.png b/glyphs-a-energy.png new file mode 100644 index 0000000..bac5750 Binary files /dev/null and b/glyphs-a-energy.png differ diff --git a/glyphs/glyph-a-1.png b/glyphs/glyph-a-1.png new file mode 100644 index 0000000..1164917 Binary files /dev/null and b/glyphs/glyph-a-1.png differ diff --git a/glyphs/glyph-a-10.png b/glyphs/glyph-a-10.png new file mode 100644 index 0000000..c59f4b1 Binary files /dev/null and b/glyphs/glyph-a-10.png differ diff --git a/glyphs/glyph-a-11.png b/glyphs/glyph-a-11.png new file mode 100644 index 0000000..ac0c124 Binary files /dev/null and b/glyphs/glyph-a-11.png differ diff --git a/glyphs/glyph-a-12.png b/glyphs/glyph-a-12.png new file mode 100644 index 0000000..48c00b9 Binary files /dev/null and b/glyphs/glyph-a-12.png differ diff --git a/glyphs/glyph-a-13.png b/glyphs/glyph-a-13.png new file mode 100644 index 0000000..da479d6 Binary files /dev/null and b/glyphs/glyph-a-13.png differ diff --git a/glyphs/glyph-a-14.png b/glyphs/glyph-a-14.png new file mode 100644 index 0000000..892ae9e Binary files /dev/null and b/glyphs/glyph-a-14.png differ diff --git a/glyphs/glyph-a-15.png b/glyphs/glyph-a-15.png new file mode 100644 index 0000000..bc5abc3 Binary files /dev/null and b/glyphs/glyph-a-15.png differ diff --git a/glyphs/glyph-a-16.png b/glyphs/glyph-a-16.png new file mode 100644 index 0000000..ec31745 Binary files /dev/null and b/glyphs/glyph-a-16.png differ diff --git a/glyphs/glyph-a-17.png b/glyphs/glyph-a-17.png new file mode 100644 index 0000000..213f26a Binary files /dev/null and b/glyphs/glyph-a-17.png differ diff --git a/glyphs/glyph-a-18.png b/glyphs/glyph-a-18.png new file mode 100644 index 0000000..25ecff4 Binary files /dev/null and b/glyphs/glyph-a-18.png differ diff --git a/glyphs/glyph-a-19.png b/glyphs/glyph-a-19.png new file mode 100644 index 0000000..fd25b73 Binary files /dev/null and b/glyphs/glyph-a-19.png differ diff --git a/glyphs/glyph-a-2.png b/glyphs/glyph-a-2.png new file mode 100644 index 0000000..5f93901 Binary files /dev/null and b/glyphs/glyph-a-2.png differ diff --git a/glyphs/glyph-a-20.png b/glyphs/glyph-a-20.png new file mode 100644 index 0000000..62d6c57 Binary files /dev/null and b/glyphs/glyph-a-20.png differ diff --git a/glyphs/glyph-a-21.png b/glyphs/glyph-a-21.png new file mode 100644 index 0000000..add2529 Binary files /dev/null and b/glyphs/glyph-a-21.png differ diff --git a/glyphs/glyph-a-22.png b/glyphs/glyph-a-22.png new file mode 100644 index 0000000..9c5e796 Binary files /dev/null and b/glyphs/glyph-a-22.png differ diff --git a/glyphs/glyph-a-23.png b/glyphs/glyph-a-23.png new file mode 100644 index 0000000..a9a456f Binary files /dev/null and b/glyphs/glyph-a-23.png differ diff --git a/glyphs/glyph-a-24.png b/glyphs/glyph-a-24.png new file mode 100644 index 0000000..5a3551b Binary files /dev/null and b/glyphs/glyph-a-24.png differ diff --git a/glyphs/glyph-a-25.png b/glyphs/glyph-a-25.png new file mode 100644 index 0000000..c2beace Binary files /dev/null and b/glyphs/glyph-a-25.png differ diff --git a/glyphs/glyph-a-26.png b/glyphs/glyph-a-26.png new file mode 100644 index 0000000..5a692d9 Binary files /dev/null and b/glyphs/glyph-a-26.png differ diff --git a/glyphs/glyph-a-27.png b/glyphs/glyph-a-27.png new file mode 100644 index 0000000..03bc878 Binary files /dev/null and b/glyphs/glyph-a-27.png differ diff --git a/glyphs/glyph-a-28.png b/glyphs/glyph-a-28.png new file mode 100644 index 0000000..969e066 Binary files /dev/null and b/glyphs/glyph-a-28.png differ diff --git a/glyphs/glyph-a-29.png b/glyphs/glyph-a-29.png new file mode 100644 index 0000000..dfe57c9 Binary files /dev/null and b/glyphs/glyph-a-29.png differ diff --git a/glyphs/glyph-a-3.png b/glyphs/glyph-a-3.png new file mode 100644 index 0000000..35611c3 Binary files /dev/null and b/glyphs/glyph-a-3.png differ diff --git a/glyphs/glyph-a-30.png b/glyphs/glyph-a-30.png new file mode 100644 index 0000000..25af5f3 Binary files /dev/null and b/glyphs/glyph-a-30.png differ diff --git a/glyphs/glyph-a-31.png b/glyphs/glyph-a-31.png new file mode 100644 index 0000000..66c6e72 Binary files /dev/null and b/glyphs/glyph-a-31.png differ diff --git a/glyphs/glyph-a-32.png b/glyphs/glyph-a-32.png new file mode 100644 index 0000000..0d3aeb1 Binary files /dev/null and b/glyphs/glyph-a-32.png differ diff --git a/glyphs/glyph-a-33.png b/glyphs/glyph-a-33.png new file mode 100644 index 0000000..ed42b21 Binary files /dev/null and b/glyphs/glyph-a-33.png differ diff --git a/glyphs/glyph-a-34.png b/glyphs/glyph-a-34.png new file mode 100644 index 0000000..4752a42 Binary files /dev/null and b/glyphs/glyph-a-34.png differ diff --git a/glyphs/glyph-a-35.png b/glyphs/glyph-a-35.png new file mode 100644 index 0000000..b8a73d5 Binary files /dev/null and b/glyphs/glyph-a-35.png differ diff --git a/glyphs/glyph-a-36.png b/glyphs/glyph-a-36.png new file mode 100644 index 0000000..2e152a1 Binary files /dev/null and b/glyphs/glyph-a-36.png differ diff --git a/glyphs/glyph-a-37.png b/glyphs/glyph-a-37.png new file mode 100644 index 0000000..b907e22 Binary files /dev/null and b/glyphs/glyph-a-37.png differ diff --git a/glyphs/glyph-a-38.png b/glyphs/glyph-a-38.png new file mode 100644 index 0000000..2045329 Binary files /dev/null and b/glyphs/glyph-a-38.png differ diff --git a/glyphs/glyph-a-39.png b/glyphs/glyph-a-39.png new file mode 100644 index 0000000..5940e46 Binary files /dev/null and b/glyphs/glyph-a-39.png differ diff --git a/glyphs/glyph-a-4.png b/glyphs/glyph-a-4.png new file mode 100644 index 0000000..a1f9ff3 Binary files /dev/null and b/glyphs/glyph-a-4.png differ diff --git a/glyphs/glyph-a-40.png b/glyphs/glyph-a-40.png new file mode 100644 index 0000000..b340be7 Binary files /dev/null and b/glyphs/glyph-a-40.png differ diff --git a/glyphs/glyph-a-41.png b/glyphs/glyph-a-41.png new file mode 100644 index 0000000..a3d4f38 Binary files /dev/null and b/glyphs/glyph-a-41.png differ diff --git a/glyphs/glyph-a-42.png b/glyphs/glyph-a-42.png new file mode 100644 index 0000000..deec62e Binary files /dev/null and b/glyphs/glyph-a-42.png differ diff --git a/glyphs/glyph-a-43.png b/glyphs/glyph-a-43.png new file mode 100644 index 0000000..de4c510 Binary files /dev/null and b/glyphs/glyph-a-43.png differ diff --git a/glyphs/glyph-a-44.png b/glyphs/glyph-a-44.png new file mode 100644 index 0000000..d76a5c5 Binary files /dev/null and b/glyphs/glyph-a-44.png differ diff --git a/glyphs/glyph-a-45.png b/glyphs/glyph-a-45.png new file mode 100644 index 0000000..8e7d04c Binary files /dev/null and b/glyphs/glyph-a-45.png differ diff --git a/glyphs/glyph-a-46.png b/glyphs/glyph-a-46.png new file mode 100644 index 0000000..4b2d090 Binary files /dev/null and b/glyphs/glyph-a-46.png differ diff --git a/glyphs/glyph-a-47.png b/glyphs/glyph-a-47.png new file mode 100644 index 0000000..c4ce414 Binary files /dev/null and b/glyphs/glyph-a-47.png differ diff --git a/glyphs/glyph-a-48.png b/glyphs/glyph-a-48.png new file mode 100644 index 0000000..5ec26d9 Binary files /dev/null and b/glyphs/glyph-a-48.png differ diff --git a/glyphs/glyph-a-49.png b/glyphs/glyph-a-49.png new file mode 100644 index 0000000..d1b3d84 Binary files /dev/null and b/glyphs/glyph-a-49.png differ diff --git a/glyphs/glyph-a-5.png b/glyphs/glyph-a-5.png new file mode 100644 index 0000000..1d59aba Binary files /dev/null and b/glyphs/glyph-a-5.png differ diff --git a/glyphs/glyph-a-50.png b/glyphs/glyph-a-50.png new file mode 100644 index 0000000..3166358 Binary files /dev/null and b/glyphs/glyph-a-50.png differ diff --git a/glyphs/glyph-a-51.png b/glyphs/glyph-a-51.png new file mode 100644 index 0000000..f7f1551 Binary files /dev/null and b/glyphs/glyph-a-51.png differ diff --git a/glyphs/glyph-a-52.png b/glyphs/glyph-a-52.png new file mode 100644 index 0000000..df86c97 Binary files /dev/null and b/glyphs/glyph-a-52.png differ diff --git a/glyphs/glyph-a-53.png b/glyphs/glyph-a-53.png new file mode 100644 index 0000000..3e077e3 Binary files /dev/null and b/glyphs/glyph-a-53.png differ diff --git a/glyphs/glyph-a-54.png b/glyphs/glyph-a-54.png new file mode 100644 index 0000000..c031709 Binary files /dev/null and b/glyphs/glyph-a-54.png differ diff --git a/glyphs/glyph-a-55.png b/glyphs/glyph-a-55.png new file mode 100644 index 0000000..0d663e0 Binary files /dev/null and b/glyphs/glyph-a-55.png differ diff --git a/glyphs/glyph-a-56.png b/glyphs/glyph-a-56.png new file mode 100644 index 0000000..3cc0565 Binary files /dev/null and b/glyphs/glyph-a-56.png differ diff --git a/glyphs/glyph-a-57.png b/glyphs/glyph-a-57.png new file mode 100644 index 0000000..c4b7e80 Binary files /dev/null and b/glyphs/glyph-a-57.png differ diff --git a/glyphs/glyph-a-58.png b/glyphs/glyph-a-58.png new file mode 100644 index 0000000..ef88f7f Binary files /dev/null and b/glyphs/glyph-a-58.png differ diff --git a/glyphs/glyph-a-59.png b/glyphs/glyph-a-59.png new file mode 100644 index 0000000..657c1cb Binary files /dev/null and b/glyphs/glyph-a-59.png differ diff --git a/glyphs/glyph-a-6.png b/glyphs/glyph-a-6.png new file mode 100644 index 0000000..58506dc Binary files /dev/null and b/glyphs/glyph-a-6.png differ diff --git a/glyphs/glyph-a-60.png b/glyphs/glyph-a-60.png new file mode 100644 index 0000000..c73bbe7 Binary files /dev/null and b/glyphs/glyph-a-60.png differ diff --git a/glyphs/glyph-a-61.png b/glyphs/glyph-a-61.png new file mode 100644 index 0000000..0a36a12 Binary files /dev/null and b/glyphs/glyph-a-61.png differ diff --git a/glyphs/glyph-a-62.png b/glyphs/glyph-a-62.png new file mode 100644 index 0000000..dccf180 Binary files /dev/null and b/glyphs/glyph-a-62.png differ diff --git a/glyphs/glyph-a-63.png b/glyphs/glyph-a-63.png new file mode 100644 index 0000000..d2dd3a1 Binary files /dev/null and b/glyphs/glyph-a-63.png differ diff --git a/glyphs/glyph-a-64.png b/glyphs/glyph-a-64.png new file mode 100644 index 0000000..2b97893 Binary files /dev/null and b/glyphs/glyph-a-64.png differ diff --git a/glyphs/glyph-a-7.png b/glyphs/glyph-a-7.png new file mode 100644 index 0000000..e49cf69 Binary files /dev/null and b/glyphs/glyph-a-7.png differ diff --git a/glyphs/glyph-a-8.png b/glyphs/glyph-a-8.png new file mode 100644 index 0000000..1516ad6 Binary files /dev/null and b/glyphs/glyph-a-8.png differ diff --git a/glyphs/glyph-a-9.png b/glyphs/glyph-a-9.png new file mode 100644 index 0000000..430f492 Binary files /dev/null and b/glyphs/glyph-a-9.png differ diff --git a/glyphs/glyph-b-1.png b/glyphs/glyph-b-1.png new file mode 100644 index 0000000..ba16c53 Binary files /dev/null and b/glyphs/glyph-b-1.png differ diff --git a/glyphs/glyph-b-10.png b/glyphs/glyph-b-10.png new file mode 100644 index 0000000..c1a54a5 Binary files /dev/null and b/glyphs/glyph-b-10.png differ diff --git a/glyphs/glyph-b-11.png b/glyphs/glyph-b-11.png new file mode 100644 index 0000000..68c00f3 Binary files /dev/null and b/glyphs/glyph-b-11.png differ diff --git a/glyphs/glyph-b-12.png b/glyphs/glyph-b-12.png new file mode 100644 index 0000000..97e181e Binary files /dev/null and b/glyphs/glyph-b-12.png differ diff --git a/glyphs/glyph-b-13.png b/glyphs/glyph-b-13.png new file mode 100644 index 0000000..6b41acc Binary files /dev/null and b/glyphs/glyph-b-13.png differ diff --git a/glyphs/glyph-b-14.png b/glyphs/glyph-b-14.png new file mode 100644 index 0000000..ad0b165 Binary files /dev/null and b/glyphs/glyph-b-14.png differ diff --git a/glyphs/glyph-b-15.png b/glyphs/glyph-b-15.png new file mode 100644 index 0000000..f783432 Binary files /dev/null and b/glyphs/glyph-b-15.png differ diff --git a/glyphs/glyph-b-16.png b/glyphs/glyph-b-16.png new file mode 100644 index 0000000..1d88cf0 Binary files /dev/null and b/glyphs/glyph-b-16.png differ diff --git a/glyphs/glyph-b-17.png b/glyphs/glyph-b-17.png new file mode 100644 index 0000000..ea36ddb Binary files /dev/null and b/glyphs/glyph-b-17.png differ diff --git a/glyphs/glyph-b-18.png b/glyphs/glyph-b-18.png new file mode 100644 index 0000000..c194e7b Binary files /dev/null and b/glyphs/glyph-b-18.png differ diff --git a/glyphs/glyph-b-19.png b/glyphs/glyph-b-19.png new file mode 100644 index 0000000..ea2000a Binary files /dev/null and b/glyphs/glyph-b-19.png differ diff --git a/glyphs/glyph-b-2.png b/glyphs/glyph-b-2.png new file mode 100644 index 0000000..b58330d Binary files /dev/null and b/glyphs/glyph-b-2.png differ diff --git a/glyphs/glyph-b-20.png b/glyphs/glyph-b-20.png new file mode 100644 index 0000000..4ffe293 Binary files /dev/null and b/glyphs/glyph-b-20.png differ diff --git a/glyphs/glyph-b-21.png b/glyphs/glyph-b-21.png new file mode 100644 index 0000000..108dac4 Binary files /dev/null and b/glyphs/glyph-b-21.png differ diff --git a/glyphs/glyph-b-22.png b/glyphs/glyph-b-22.png new file mode 100644 index 0000000..6ac4ab1 Binary files /dev/null and b/glyphs/glyph-b-22.png differ diff --git a/glyphs/glyph-b-23.png b/glyphs/glyph-b-23.png new file mode 100644 index 0000000..b83a250 Binary files /dev/null and b/glyphs/glyph-b-23.png differ diff --git a/glyphs/glyph-b-24.png b/glyphs/glyph-b-24.png new file mode 100644 index 0000000..596f96e Binary files /dev/null and b/glyphs/glyph-b-24.png differ diff --git a/glyphs/glyph-b-25.png b/glyphs/glyph-b-25.png new file mode 100644 index 0000000..00be884 Binary files /dev/null and b/glyphs/glyph-b-25.png differ diff --git a/glyphs/glyph-b-26.png b/glyphs/glyph-b-26.png new file mode 100644 index 0000000..e8b3f0b Binary files /dev/null and b/glyphs/glyph-b-26.png differ diff --git a/glyphs/glyph-b-27.png b/glyphs/glyph-b-27.png new file mode 100644 index 0000000..2c1215b Binary files /dev/null and b/glyphs/glyph-b-27.png differ diff --git a/glyphs/glyph-b-28.png b/glyphs/glyph-b-28.png new file mode 100644 index 0000000..8dfad02 Binary files /dev/null and b/glyphs/glyph-b-28.png differ diff --git a/glyphs/glyph-b-29.png b/glyphs/glyph-b-29.png new file mode 100644 index 0000000..c12a774 Binary files /dev/null and b/glyphs/glyph-b-29.png differ diff --git a/glyphs/glyph-b-3.png b/glyphs/glyph-b-3.png new file mode 100644 index 0000000..b3089d5 Binary files /dev/null and b/glyphs/glyph-b-3.png differ diff --git a/glyphs/glyph-b-30.png b/glyphs/glyph-b-30.png new file mode 100644 index 0000000..697b40b Binary files /dev/null and b/glyphs/glyph-b-30.png differ diff --git a/glyphs/glyph-b-31.png b/glyphs/glyph-b-31.png new file mode 100644 index 0000000..e8ea669 Binary files /dev/null and b/glyphs/glyph-b-31.png differ diff --git a/glyphs/glyph-b-32.png b/glyphs/glyph-b-32.png new file mode 100644 index 0000000..c69552a Binary files /dev/null and b/glyphs/glyph-b-32.png differ diff --git a/glyphs/glyph-b-33.png b/glyphs/glyph-b-33.png new file mode 100644 index 0000000..9dc5a4d Binary files /dev/null and b/glyphs/glyph-b-33.png differ diff --git a/glyphs/glyph-b-34.png b/glyphs/glyph-b-34.png new file mode 100644 index 0000000..8477dfa Binary files /dev/null and b/glyphs/glyph-b-34.png differ diff --git a/glyphs/glyph-b-35.png b/glyphs/glyph-b-35.png new file mode 100644 index 0000000..18b478f Binary files /dev/null and b/glyphs/glyph-b-35.png differ diff --git a/glyphs/glyph-b-36.png b/glyphs/glyph-b-36.png new file mode 100644 index 0000000..8ed50c7 Binary files /dev/null and b/glyphs/glyph-b-36.png differ diff --git a/glyphs/glyph-b-37.png b/glyphs/glyph-b-37.png new file mode 100644 index 0000000..6309681 Binary files /dev/null and b/glyphs/glyph-b-37.png differ diff --git a/glyphs/glyph-b-38.png b/glyphs/glyph-b-38.png new file mode 100644 index 0000000..ba5bf8b Binary files /dev/null and b/glyphs/glyph-b-38.png differ diff --git a/glyphs/glyph-b-39.png b/glyphs/glyph-b-39.png new file mode 100644 index 0000000..1afe486 Binary files /dev/null and b/glyphs/glyph-b-39.png differ diff --git a/glyphs/glyph-b-4.png b/glyphs/glyph-b-4.png new file mode 100644 index 0000000..0b814db Binary files /dev/null and b/glyphs/glyph-b-4.png differ diff --git a/glyphs/glyph-b-40.png b/glyphs/glyph-b-40.png new file mode 100644 index 0000000..7e454ca Binary files /dev/null and b/glyphs/glyph-b-40.png differ diff --git a/glyphs/glyph-b-41.png b/glyphs/glyph-b-41.png new file mode 100644 index 0000000..259c2df Binary files /dev/null and b/glyphs/glyph-b-41.png differ diff --git a/glyphs/glyph-b-42.png b/glyphs/glyph-b-42.png new file mode 100644 index 0000000..d515751 Binary files /dev/null and b/glyphs/glyph-b-42.png differ diff --git a/glyphs/glyph-b-43.png b/glyphs/glyph-b-43.png new file mode 100644 index 0000000..667dc88 Binary files /dev/null and b/glyphs/glyph-b-43.png differ diff --git a/glyphs/glyph-b-44.png b/glyphs/glyph-b-44.png new file mode 100644 index 0000000..f99dcb7 Binary files /dev/null and b/glyphs/glyph-b-44.png differ diff --git a/glyphs/glyph-b-45.png b/glyphs/glyph-b-45.png new file mode 100644 index 0000000..3bdb027 Binary files /dev/null and b/glyphs/glyph-b-45.png differ diff --git a/glyphs/glyph-b-46.png b/glyphs/glyph-b-46.png new file mode 100644 index 0000000..d336590 Binary files /dev/null and b/glyphs/glyph-b-46.png differ diff --git a/glyphs/glyph-b-47.png b/glyphs/glyph-b-47.png new file mode 100644 index 0000000..6415769 Binary files /dev/null and b/glyphs/glyph-b-47.png differ diff --git a/glyphs/glyph-b-48.png b/glyphs/glyph-b-48.png new file mode 100644 index 0000000..326e6c3 Binary files /dev/null and b/glyphs/glyph-b-48.png differ diff --git a/glyphs/glyph-b-49.png b/glyphs/glyph-b-49.png new file mode 100644 index 0000000..5b9e34a Binary files /dev/null and b/glyphs/glyph-b-49.png differ diff --git a/glyphs/glyph-b-5.png b/glyphs/glyph-b-5.png new file mode 100644 index 0000000..8bbee83 Binary files /dev/null and b/glyphs/glyph-b-5.png differ diff --git a/glyphs/glyph-b-50.png b/glyphs/glyph-b-50.png new file mode 100644 index 0000000..8d9ebc4 Binary files /dev/null and b/glyphs/glyph-b-50.png differ diff --git a/glyphs/glyph-b-51.png b/glyphs/glyph-b-51.png new file mode 100644 index 0000000..2f212b5 Binary files /dev/null and b/glyphs/glyph-b-51.png differ diff --git a/glyphs/glyph-b-52.png b/glyphs/glyph-b-52.png new file mode 100644 index 0000000..e64418b Binary files /dev/null and b/glyphs/glyph-b-52.png differ diff --git a/glyphs/glyph-b-53.png b/glyphs/glyph-b-53.png new file mode 100644 index 0000000..311f559 Binary files /dev/null and b/glyphs/glyph-b-53.png differ diff --git a/glyphs/glyph-b-54.png b/glyphs/glyph-b-54.png new file mode 100644 index 0000000..51ae841 Binary files /dev/null and b/glyphs/glyph-b-54.png differ diff --git a/glyphs/glyph-b-55.png b/glyphs/glyph-b-55.png new file mode 100644 index 0000000..34acd0e Binary files /dev/null and b/glyphs/glyph-b-55.png differ diff --git a/glyphs/glyph-b-56.png b/glyphs/glyph-b-56.png new file mode 100644 index 0000000..b29932f Binary files /dev/null and b/glyphs/glyph-b-56.png differ diff --git a/glyphs/glyph-b-57.png b/glyphs/glyph-b-57.png new file mode 100644 index 0000000..accff59 Binary files /dev/null and b/glyphs/glyph-b-57.png differ diff --git a/glyphs/glyph-b-58.png b/glyphs/glyph-b-58.png new file mode 100644 index 0000000..13bff14 Binary files /dev/null and b/glyphs/glyph-b-58.png differ diff --git a/glyphs/glyph-b-59.png b/glyphs/glyph-b-59.png new file mode 100644 index 0000000..ddb222a Binary files /dev/null and b/glyphs/glyph-b-59.png differ diff --git a/glyphs/glyph-b-6.png b/glyphs/glyph-b-6.png new file mode 100644 index 0000000..8adf63b Binary files /dev/null and b/glyphs/glyph-b-6.png differ diff --git a/glyphs/glyph-b-60.png b/glyphs/glyph-b-60.png new file mode 100644 index 0000000..7916815 Binary files /dev/null and b/glyphs/glyph-b-60.png differ diff --git a/glyphs/glyph-b-61.png b/glyphs/glyph-b-61.png new file mode 100644 index 0000000..d18c646 Binary files /dev/null and b/glyphs/glyph-b-61.png differ diff --git a/glyphs/glyph-b-62.png b/glyphs/glyph-b-62.png new file mode 100644 index 0000000..f458b34 Binary files /dev/null and b/glyphs/glyph-b-62.png differ diff --git a/glyphs/glyph-b-63.png b/glyphs/glyph-b-63.png new file mode 100644 index 0000000..f8e4ce3 Binary files /dev/null and b/glyphs/glyph-b-63.png differ diff --git a/glyphs/glyph-b-64.png b/glyphs/glyph-b-64.png new file mode 100644 index 0000000..367ee4c Binary files /dev/null and b/glyphs/glyph-b-64.png differ diff --git a/glyphs/glyph-b-7.png b/glyphs/glyph-b-7.png new file mode 100644 index 0000000..c971b04 Binary files /dev/null and b/glyphs/glyph-b-7.png differ diff --git a/glyphs/glyph-b-8.png b/glyphs/glyph-b-8.png new file mode 100644 index 0000000..b1b1bae Binary files /dev/null and b/glyphs/glyph-b-8.png differ diff --git a/glyphs/glyph-b-9.png b/glyphs/glyph-b-9.png new file mode 100644 index 0000000..539af62 Binary files /dev/null and b/glyphs/glyph-b-9.png differ diff --git a/main.py b/main.py new file mode 100644 index 0000000..0cb8e63 --- /dev/null +++ b/main.py @@ -0,0 +1,46 @@ +import csv +import itertools +import numpy as np +from matplotlib import pyplot as plt + +import cv2 + +coordinates = [] +plt.ion() +with open('data.csv') as csv_file: + csv_reader = csv.DictReader(csv_file) + line_count = 0 + for row in csv_reader: + coordinate = [float(row['X']), float(row['Y']), float(row['Z'])] + coordinates.append(coordinate) + +# print(coordinates) + +# res = np.concatenate(coordinates) +# +# fig = plt.figure() +# ax = fig.add_subplot(projection='3d') +# +# for x, y, z in coordinates: +# ax.scatter(xs=x, ys=y, zs=z, marker='o') +# +# plt.show() + + +coor = coordinates[7] +for i in range(7): + coor = np.cross(coor, coordinates[i]) + #coordi = coordinates[i] + #coordi +#print(multi) +combinations = list(itertools.combinations(coordinates, 8)) + +for combi in combinations: + coor = combi[7] + for i in range(7): + coor = np.cross(coor, combi[i]) + + print(coor) + +length = 3 +target = 15 diff --git a/radofdispear.png b/radofdispear.png new file mode 100644 index 0000000..c19be72 Binary files /dev/null and b/radofdispear.png differ