upload
This commit is contained in:
parent
ac8f26dc7a
commit
cadf3c0af3
7 changed files with 1 additions and 2 deletions
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 1,023 KiB After Width: | Height: | Size: 1,023 KiB |
|
@ -379,7 +379,6 @@ class PlantPredictor:
|
||||||
prompt, plant_type, plant_health = self.create_transformation_prompt(image_path, plant_conditions)
|
prompt, plant_type, plant_health = self.create_transformation_prompt(image_path, plant_conditions)
|
||||||
print(f"🌿 Plant identified as: {plant_type}")
|
print(f"🌿 Plant identified as: {plant_type}")
|
||||||
print(f"💚 Current health: {plant_health}")
|
print(f"💚 Current health: {plant_health}")
|
||||||
print(f"📝 Enhanced transformation prompt: {prompt}")
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f"❌ Error in Step 3: {e}")
|
print(f"❌ Error in Step 3: {e}")
|
||||||
return None
|
return None
|
||||||
|
@ -495,7 +494,7 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
# Ultra high-quality prediction with single sample
|
# Ultra high-quality prediction with single sample
|
||||||
result = predictor.predict_plant_growth(
|
result = predictor.predict_plant_growth(
|
||||||
image_path="./foto/basilico.png",
|
image_path="./foto/basilico1 originale.png",
|
||||||
lat=latitude,
|
lat=latitude,
|
||||||
lon=longitude,
|
lon=longitude,
|
||||||
output_path="./predicted_plant_ultra_hq.jpg",
|
output_path="./predicted_plant_ultra_hq.jpg",
|
Loading…
Add table
Add a link
Reference in a new issue