This commit is contained in:
Leon Astner 2025-08-02 11:50:05 +02:00
parent ac8f26dc7a
commit cadf3c0af3
7 changed files with 1 additions and 2 deletions

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1,023 KiB

After

Width:  |  Height:  |  Size: 1,023 KiB

Before After
Before After

View file

@ -379,7 +379,6 @@ class PlantPredictor:
prompt, plant_type, plant_health = self.create_transformation_prompt(image_path, plant_conditions)
print(f"🌿 Plant identified as: {plant_type}")
print(f"💚 Current health: {plant_health}")
print(f"📝 Enhanced transformation prompt: {prompt}")
except Exception as e:
print(f"❌ Error in Step 3: {e}")
return None
@ -495,7 +494,7 @@ if __name__ == "__main__":
# Ultra high-quality prediction with single sample
result = predictor.predict_plant_growth(
image_path="./foto/basilico.png",
image_path="./foto/basilico1 originale.png",
lat=latitude,
lon=longitude,
output_path="./predicted_plant_ultra_hq.jpg",