nnibras commited on
Commit
b02da62
·
verified ·
1 Parent(s): a3fa85f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -83,6 +83,10 @@ def calc_glcm_features(images):
83
  grass_glcm_features = calc_glcm_features(grass_dataset)
84
  wood_glcm_features = calc_glcm_features(wood_dataset)
85
 
 
 
 
 
86
 
87
  def extract_lbp_features(images):
88
  """Extract LBP features from a list of images.
 
83
  grass_glcm_features = calc_glcm_features(grass_dataset)
84
  wood_glcm_features = calc_glcm_features(wood_dataset)
85
 
86
+ # Print the sizes of the GLCM feature arrays
87
+ print(f"Size of GLCM features for grass dataset: {len(grass_glcm_features)}")
88
+ print(f"Size of GLCM features for wood dataset: {len(wood_glcm_features)}")
89
+
90
 
91
  def extract_lbp_features(images):
92
  """Extract LBP features from a list of images.