Przeglądaj źródła

Renamed directory in to images, Got rid of imgProcess.py since we won't be doing multiple images at the same time.

david 5 lat temu
rodzic
commit
87367df1d9
100 zmienionych plików z 5 dodań i 5 usunięć
  1. 5 5
      dataLoad.py
  2. BIN
      images/e_0.png
  3. BIN
      images/e_1.png
  4. BIN
      images/e_10.png
  5. BIN
      images/e_11.png
  6. BIN
      images/e_12.png
  7. BIN
      images/e_13.png
  8. BIN
      images/e_14.png
  9. BIN
      images/e_15.png
  10. BIN
      images/e_16.png
  11. BIN
      images/e_17.png
  12. BIN
      images/e_18.png
  13. BIN
      images/e_19.png
  14. BIN
      images/e_2.png
  15. BIN
      images/e_20.png
  16. BIN
      images/e_21.png
  17. BIN
      images/e_22.png
  18. BIN
      images/e_23.png
  19. BIN
      images/e_24.png
  20. BIN
      images/e_25.png
  21. BIN
      images/e_26.png
  22. BIN
      images/e_27.png
  23. BIN
      images/e_28.png
  24. BIN
      images/e_29.png
  25. BIN
      images/e_3.png
  26. BIN
      images/e_30.png
  27. BIN
      images/e_31.png
  28. BIN
      images/e_32.png
  29. BIN
      images/e_33.png
  30. BIN
      images/e_34.png
  31. BIN
      images/e_35.png
  32. BIN
      images/e_36.png
  33. BIN
      images/e_37.png
  34. BIN
      images/e_38.png
  35. BIN
      images/e_39.png
  36. BIN
      images/e_4.png
  37. BIN
      images/e_40.png
  38. BIN
      images/e_41.png
  39. BIN
      images/e_42.png
  40. BIN
      images/e_43.png
  41. BIN
      images/e_44.png
  42. BIN
      images/e_45.png
  43. BIN
      images/e_46.png
  44. BIN
      images/e_47.png
  45. BIN
      images/e_48.png
  46. BIN
      images/e_49.png
  47. BIN
      images/e_5.png
  48. BIN
      images/e_50.png
  49. BIN
      images/e_51.png
  50. BIN
      images/e_52.png
  51. BIN
      images/e_53.png
  52. BIN
      images/e_54.png
  53. BIN
      images/e_55.png
  54. BIN
      images/e_56.png
  55. BIN
      images/e_57.png
  56. BIN
      images/e_58.png
  57. BIN
      images/e_59.png
  58. BIN
      images/e_6.png
  59. BIN
      images/e_60.png
  60. BIN
      images/e_61.png
  61. BIN
      images/e_7.png
  62. BIN
      images/e_8.png
  63. BIN
      images/e_9.png
  64. BIN
      images/h_0.png
  65. BIN
      images/h_1.png
  66. BIN
      images/h_10.png
  67. BIN
      images/h_11.png
  68. BIN
      images/h_12.png
  69. BIN
      images/h_13.png
  70. BIN
      images/h_14.png
  71. BIN
      images/h_15.png
  72. BIN
      images/h_16.png
  73. BIN
      images/h_17.png
  74. BIN
      images/h_18.png
  75. BIN
      images/h_19.png
  76. BIN
      images/h_2.png
  77. BIN
      images/h_20.png
  78. BIN
      images/h_21.png
  79. BIN
      images/h_22.png
  80. BIN
      images/h_23.png
  81. BIN
      images/h_24.png
  82. BIN
      images/h_25.png
  83. BIN
      images/h_26.png
  84. BIN
      images/h_27.png
  85. BIN
      images/h_28.png
  86. BIN
      images/h_29.png
  87. BIN
      images/h_3.png
  88. BIN
      images/h_30.png
  89. BIN
      images/h_31.png
  90. BIN
      images/h_32.png
  91. BIN
      images/h_33.png
  92. BIN
      images/h_34.png
  93. BIN
      images/h_35.png
  94. BIN
      images/h_36.png
  95. BIN
      images/h_37.png
  96. BIN
      images/h_38.png
  97. BIN
      images/h_39.png
  98. BIN
      images/h_4.png
  99. BIN
      images/h_40.png
  100. BIN
      images/h_41.png

+ 5 - 5
dataLoad.py

@@ -49,8 +49,8 @@ GREEN_DIFF = 10
 # to be called green.
 
 # Check the environment, do we have all that we need?
-if not os.path.exists("in"):
-    os.mkdir("in")
+if not os.path.exists("images"):
+    os.mkdir("images")
 
 if not os.path.exists("data"):
     os.mkdir("data")
@@ -66,7 +66,7 @@ def download(howhard, index):
     """
     r = sess.get(f"http://s0urce.io/client/img/word/{howhard}/{index}")
     if r.status_code == 200:
-        with open(f"in/{howhard}_{index}.png", "wb") as f:
+        with open(f"images/{howhard}_{index}.png", "wb") as f:
             f.write(r.content)
     else:
         # We did not get a 200 Okay, log this... Hmm maybe we need to make a log file?
@@ -218,7 +218,7 @@ def run(difficult):
     """
 
     for x in range(0, 70):
-        fname = f"in/{difficult}_{x}.png"
+        fname = f"images/{difficult}_{x}.png"
 
         if not os.path.exists(fname):
             print("Could not find '{0}'".format(fname))
@@ -266,7 +266,7 @@ def autotrain(difficult):
     """
 
     for x in range(0, 70):
-        fname = f"in/{difficult}_{x}.png"
+        fname = f"images/{difficult}_{x}.png"
 
         if not os.path.exists(fname):
             print("Could not find '{0}'".format(fname))

BIN
images/e_0.png


BIN
images/e_1.png


BIN
images/e_10.png


BIN
images/e_11.png


BIN
images/e_12.png


BIN
images/e_13.png


BIN
images/e_14.png


BIN
images/e_15.png


BIN
images/e_16.png


BIN
images/e_17.png


BIN
images/e_18.png


BIN
images/e_19.png


BIN
images/e_2.png


BIN
images/e_20.png


BIN
images/e_21.png


BIN
images/e_22.png


BIN
images/e_23.png


BIN
images/e_24.png


BIN
images/e_25.png


BIN
images/e_26.png


BIN
images/e_27.png


BIN
images/e_28.png


BIN
images/e_29.png


BIN
images/e_3.png


BIN
images/e_30.png


BIN
images/e_31.png


BIN
images/e_32.png


BIN
images/e_33.png


BIN
images/e_34.png


BIN
images/e_35.png


BIN
images/e_36.png


BIN
images/e_37.png


BIN
images/e_38.png


BIN
images/e_39.png


BIN
images/e_4.png


BIN
images/e_40.png


BIN
images/e_41.png


BIN
images/e_42.png


BIN
images/e_43.png


BIN
images/e_44.png


BIN
images/e_45.png


BIN
images/e_46.png


BIN
images/e_47.png


BIN
images/e_48.png


BIN
images/e_49.png


BIN
images/e_5.png


BIN
images/e_50.png


BIN
images/e_51.png


BIN
images/e_52.png


BIN
images/e_53.png


BIN
images/e_54.png


BIN
images/e_55.png


BIN
images/e_56.png


BIN
images/e_57.png


BIN
images/e_58.png


BIN
images/e_59.png


BIN
images/e_6.png


BIN
images/e_60.png


BIN
images/e_61.png


BIN
images/e_7.png


BIN
images/e_8.png


BIN
images/e_9.png


BIN
images/h_0.png


BIN
images/h_1.png


BIN
images/h_10.png


BIN
images/h_11.png


BIN
images/h_12.png


BIN
images/h_13.png


BIN
images/h_14.png


BIN
images/h_15.png


BIN
images/h_16.png


BIN
images/h_17.png


BIN
images/h_18.png


BIN
images/h_19.png


BIN
images/h_2.png


BIN
images/h_20.png


BIN
images/h_21.png


BIN
images/h_22.png


BIN
images/h_23.png


BIN
images/h_24.png


BIN
images/h_25.png


BIN
images/h_26.png


BIN
images/h_27.png


BIN
images/h_28.png


BIN
images/h_29.png


BIN
images/h_3.png


BIN
images/h_30.png


BIN
images/h_31.png


BIN
images/h_32.png


BIN
images/h_33.png


BIN
images/h_34.png


BIN
images/h_35.png


BIN
images/h_36.png


BIN
images/h_37.png


BIN
images/h_38.png


BIN
images/h_39.png


BIN
images/h_4.png


BIN
images/h_40.png


BIN
images/h_41.png


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików