mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-29 18:59:57 +00:00
Update image_processing.py
This commit is contained in:
@@ -13,4 +13,8 @@ async def process_image(image: bytes) -> str:
|
||||
print("Something went wrong with ANPR")
|
||||
return ""
|
||||
|
||||
if not anpr_info["is_plate"]:
|
||||
return ""
|
||||
|
||||
print(anpr_info["plate_number"])
|
||||
return str(anpr_info["plate_number"])
|
||||
|
||||
Reference in New Issue
Block a user