{"id":22032,"date":"2024-09-17T08:19:56","date_gmt":"2024-09-17T06:19:56","guid":{"rendered":"https:\/\/www.moreware.org\/wp\/?p=22032"},"modified":"2024-09-12T12:14:32","modified_gmt":"2024-09-12T10:14:32","slug":"riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2","status":"publish","type":"post","link":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/","title":{"rendered":"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2"},"content":{"rendered":"<p style=\"text-align: justify\">In questo articolo esploreremo come realizzare un sistema automatizzato per il riconoscimento delle targhe automobilistiche utilizzando <strong><a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=82656ec7b17752ecd8d9f7203c331310&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspberry, raspberrypi, raspberry PI\">Raspberry Pi<\/a> Compute Module 4 (CM4)<\/strong>, la carrier board <strong>Ochin V2<\/strong> e una <strong><a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=82656ec7b17752ecd8d9f7203c331310&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspberry, raspberrypi, raspberry PI\">Raspberry Pi<\/a> Camera<\/strong>. Questo progetto consente di leggere le targhe dei veicoli ogni pochi secondi e, in caso di rilevamento, di inviare una foto della targa con un messaggio contenente i caratteri riconosciuti.<\/p>\n<p style=\"text-align: justify\">L\u2019obiettivo sar\u00e0 implementare un sistema che utilizza <strong>OpenCV<\/strong> per rilevare la targa e <strong>Tesseract OCR<\/strong> per leggere il testo. Inoltre, vedremo come configurare un <strong>bot Telegram<\/strong> per ricevere i risultati direttamente sul proprio <a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=8e85b5691b69c059bed28af0c470f013&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=smartphone, cellulare, Android\">smartphone<\/a>.<\/p>\n<p style=\"text-align: justify\">Prima di cominciare, per coloro i quali non conoscono la carrier board ochin V2 consiglio di leggere i seguenti articoli:<\/p>\n<ul style=\"text-align: justify\">\n<li><a href=\"https:\/\/www.moreware.org\/wp\/blog\/2024\/07\/16\/ochin-v2-di-seeed-studio-la-carrier-board-per-raspberry-pi-cm4\/\">Ochin V2 di Seeed Studio: la carrier board per Raspberry Pi CM4<\/a><\/li>\n<li><a href=\"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/09\/come-configurare-il-raspberry-pi-compute-module-4-con-ochin-v2\/\">Come configurare il Raspberry Pi Compute Module 4 con ochin V2<\/a><\/li>\n<li><a href=\"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/16\/guida-alluso-della-raspberry-pi-camera-su-compute-module-4-con-ochin-v2\/\">Guida all\u2019uso della Raspberry Pi Camera su Compute Module 4 con Ochin V2<\/a><\/li>\n<\/ul>\n<h4 style=\"text-align: justify\">Componenti necessari<\/h4>\n<ul style=\"text-align: justify\">\n<li><a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=82656ec7b17752ecd8d9f7203c331310&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspberry, raspberrypi, raspberry PI\">Raspberry Pi<\/a> Compute Module 4 (CM4)<\/li>\n<li><a href=\"https:\/\/www.seeedstudio.com\/Ochin-Tiny-Carrier-Board-V2-for-Raspberry-Pi-CM4-p-5887.html\">Carrier board Ochin V2<\/a><\/li>\n<li><a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=82656ec7b17752ecd8d9f7203c331310&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspberry, raspberrypi, raspberry PI\">Raspberry<\/a> Pi Camera v1.3<\/li>\n<li>Librerie software (OpenCV, Tesseract OCR, Telepot, Imutils)<\/li>\n<\/ul>\n<h4 style=\"text-align: justify\">Applicazioni pratiche<\/h4>\n<p style=\"text-align: justify\">Questo sistema pu\u00f2 essere impiegato in diversi contesti, tra cui:<\/p>\n<ul style=\"text-align: justify\">\n<li>Automatizzazione dei caselli stradali<\/li>\n<li>Monitoraggio di veicoli non autorizzati<\/li>\n<li>Sistemi di sicurezza automatizzati<\/li>\n<li>Apertura di cancelli tramite riconoscimento delle targhe<\/li>\n<\/ul>\n<h4 style=\"text-align: justify\">Installazione e configurazione di <a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=82656ec7b17752ecd8d9f7203c331310&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspberry, raspberrypi, raspberry PI\">Raspberry<\/a> Pi e Camera<\/h4>\n<p style=\"text-align: justify\">Se non hai mai configurato una <a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=82656ec7b17752ecd8d9f7203c331310&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspberry, raspberrypi, raspberry PI\">Raspberry<\/a> Pi Camera, ti consiglio di leggere la guida specifica sulla configurazione della <strong>Raspberry Pi Camera<\/strong> che trovi <a href=\"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/16\/guida-alluso-della-raspberry-pi-camera-su-compute-module-4-con-ochin-v2\/\" target=\"_new\" rel=\"noopener\">qui<\/a>.<\/p>\n<p style=\"text-align: justify\">Prima di iniziare, \u00e8 importante assicurarsi che il sistema sia aggiornato. Apri il terminale e digita:<\/p>\n<div class=\"dark bg-gray-950 contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative\">\n<div class=\"flex items-center text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9\">\n<pre class=\"lang:default decode:true \">sudo apt update\r\nsudo apt upgrade<\/pre>\n<p style=\"text-align: justify\">Successivamente, installa le librerie necessarie come <strong>libcamera<\/strong>, utilizzata per catturare immagini con la Pi Camera, e <strong>Tesseract OCR<\/strong>, che verr\u00e0 impiegata per il riconoscimento dei caratteri delle targhe automobilistiche:<\/p>\n<div class=\"dark bg-gray-950 contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative\" style=\"text-align: justify\">\n<div class=\"flex items-center text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9\">\n<pre class=\"lang:default decode:true \">sudo apt install libcamera-apps\r\nsudo apt-get install tesseract-ocr\r\n<\/pre>\n<h4>Creare un ambiente virtuale Python<\/h4>\n<p>Per evitare conflitti con i pacchetti preinstallati, ti consiglio di lavorare all&#8217;interno di un <strong>ambiente virtuale Python<\/strong>. Ecco come crearlo:<\/p>\n<\/div>\n<\/div>\n<div class=\"dark bg-gray-950 contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative\">\n<div class=\"flex items-center text-token-text-secondary bg-token-main-surface-secondary px-4 py-2 text-xs font-sans justify-between rounded-t-md h-9\" style=\"text-align: justify\">\n<pre class=\"lang:default decode:true \">python3 -m venv myenv\r\nsource myenv\/bin\/activate\r\n<\/pre>\n<p>All\u2019interno dell&#8217;ambiente virtuale, installa le librerie necessarie:<\/p>\n<pre class=\"lang:default decode:true \">pip install opencv-python imutils pytesseract telepot\r\n<\/pre>\n<h4>Rilevamento delle targhe: Passaggi principali<\/h4>\n<p>Il processo di riconoscimento della targa segue tre fasi fondamentali:<\/p>\n<ol>\n<li><strong>Rilevamento della targa:<\/strong> Utilizziamo <strong>OpenCV<\/strong> per individuare la targa nell&#8217;immagine, sfruttando la tecnica di rilevamento dei contorni.<\/li>\n<li><strong>Segmentazione dei caratteri:<\/strong> Una volta rilevata la targa, viene segmentata per isolare i caratteri.<\/li>\n<li><strong>Riconoscimento con OCR:<\/strong> <strong>Tesseract OCR<\/strong> viene utilizzato per convertire l\u2019immagine della targa in testo leggibile.<\/li>\n<\/ol>\n<h4>Configurazione del bot Telegram con Telepot<\/h4>\n<\/div>\n<p style=\"text-align: justify\">Il primo passo consiste nell\u2019aprire l\u2019applicazione telegram. Una volta aperta cerchiamo \u201cBotFather\u201d tramite la funzione cerca cliccando sull\u2019apposita lente di ingrandimento.<\/p>\n<p style=\"text-align: justify\">\u201cBotFather\u201d \u00e8 un bot che permette di creare altri bot.<\/p>\n<p style=\"text-align: justify\">Avviamo il bot scrivendo \u201c<strong>\/start<\/strong>\u201c, poi premiamo\u00a0<strong>invio.<\/strong><\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"lazy loaded aligncenter wp-image-9282 size-full\" src=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/bothfather1.png?resize=623%2C659&amp;ssl=1\" alt=\"raspberry\" width=\"623\" height=\"659\" data-src=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/bothfather1.png?resize=623%2C659\" data-srcset=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/bothfather1.png?w=623&amp;ssl=1 623w, https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/bothfather1.png?resize=284%2C300&amp;ssl=1 284w\" data-sizes=\"(max-width: 623px) 100vw, 623px\" data-was-processed=\"true\" data-recalc-dims=\"1\" srcset=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/bothfather1.png?w=623&amp;ssl=1 623w, https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/bothfather1.png?resize=284%2C300&amp;ssl=1 284w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/p>\n<p style=\"text-align: justify\">Per creare un nuovo bot digitiamo \u201c<strong>\/newbot\u201d<\/strong>.<\/p>\n<p style=\"text-align: justify\">BotFather ci chieder\u00e0 di assegnare un nome al nostro nuovo Bot, basta digitare un qualsiasi nome e poi premere Invio.<\/p>\n<p style=\"text-align: justify\">Dobbiamo anche inserire un username che lo render\u00e0 riconoscibile pubblicamente. Username deve terminare in \u201c<strong>Bot\u201d<\/strong>\u00a0o \u201d\u00a0<strong>_bot\u201d.<\/strong><\/p>\n<p style=\"text-align: justify\">In seguito alla assegnazione del nome e dell\u2019username BotFather ci comunicher\u00e0 informazioni importanti in seguito per compilare il codice per il funzionamento della camera e dell\u2019invio dati. ATTENZIONE: QUESTE INFOMAZIONI LE DOVREMMO TENERE SOLO PER NOI. La prima parte riguarda il percorso per trovare il nostro bot. La seconda \u00e8 la API che sar\u00e0 utilizzato nel nostro codice.<\/p>\n<p style=\"text-align: justify\"><img loading=\"lazy\" decoding=\"async\" class=\"lazy loaded aligncenter wp-image-9283 size-full\" src=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/botfather2.png?resize=618%2C840&amp;ssl=1\" alt=\"raspberry\" width=\"618\" height=\"840\" data-src=\"https:\/\/i1.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/botfather2.png?resize=618%2C840\" data-srcset=\"https:\/\/i1.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/botfather2.png?w=618&amp;ssl=1 618w, https:\/\/i1.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/botfather2.png?resize=221%2C300&amp;ssl=1 221w\" data-sizes=\"(max-width: 618px) 100vw, 618px\" data-was-processed=\"true\" data-recalc-dims=\"1\" srcset=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/botfather2.png?w=618&amp;ssl=1 618w, https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2020\/12\/botfather2.png?resize=221%2C300&amp;ssl=1 221w\" sizes=\"auto, (max-width: 618px) 100vw, 618px\" \/><\/p>\n<p style=\"text-align: justify\">Per l\u2019implementazione del bot occorre una specifica libreria. Per installare questa libreria basta eseguire il comando (prima usciamo dalle eventuali directory digitando cd).<\/p>\n<p style=\"text-align: justify\"><code>pip install telepot<\/code><\/p>\n<p style=\"text-align: justify\">Perch\u00e9 abbiamo scelto <strong>Telepot<\/strong>? Sebbene esistano altre librerie come <strong>python-telegram-bot<\/strong> o <strong>aiogram<\/strong>, Telepot offre una maggiore semplicit\u00e0 d&#8217;uso per progetti come questo, richiedendo meno configurazioni e risultando pi\u00f9 adatto per l&#8217;invio rapido di messaggi e foto.<\/p>\n<h4 style=\"text-align: justify\">Codice Python per catturare e inviare targhe<\/h4>\n<p style=\"text-align: justify\"><strong>Crea la cartella chiamata \u201ctimelapse\u201d su desktop, cosi potrai copiare e incollare il codice.<\/strong><\/p>\n<p style=\"text-align: justify\">Ecco un esempio di codice Python che cattura le immagini, le elabora e invia i risultati tramite il bot Telegram:<\/p>\n<pre class=\"theme:github lang:python decode:true \">import telepot\r\nfrom telepot.loop import MessageLoop\r\nimport cv2\r\nimport imutils\r\nimport numpy as np\r\nimport pytesseract\r\nimport os\r\nimport time\r\n\r\n# Function to capture an image using libcamera-still\r\ndef capture_image(image_path, width=1920, height=1080, quality=90):\r\n    \"\"\"\r\n    Captures an image using libcamera-still with the specified parameters.\r\n\r\n    Args:\r\n        image_path (str): The path where the image will be saved.\r\n        width (int): Image width in pixels (default is 1920).\r\n        height (int): Image height in pixels (default is 1080).\r\n        quality (int): Image quality as a percentage (default is 90).\r\n\r\n    Returns:\r\n        bool: True if the image was captured successfully, False otherwise.\r\n    \"\"\"\r\n    command = f\"libcamera-still -t 100 --autofocus-mode auto -o {image_path} --width {width} --height {height} --quality {quality}\"\r\n    exit_code = os.system(command)\r\n    return exit_code == 0  # True if exit_code is 0, indicates success\r\n\r\n# Function to detect and recognize the license plate in an image\r\ndef detect_license_plate(image_path):\r\n    \"\"\"\r\n    Detects a vehicle's license plate in an image and extracts the characters.\r\n\r\n    Args:\r\n        image_path (str): The path of the image to analyze.\r\n\r\n    Returns:\r\n        str: The recognized text (license plate) or an error message.\r\n    \"\"\"\r\n    img = cv2.imread(image_path)\r\n\r\n    if img is None:\r\n        return \"Error: Unable to load image\"\r\n\r\n    # Convert the image to grayscale\r\n    gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)\r\n\r\n    # Apply a filter to reduce noise\r\n    gray = cv2.bilateralFilter(gray, 11, 17, 17)\r\n\r\n    # Detect edges using Canny method\r\n    edged = cv2.Canny(gray, 30, 200)\r\n\r\n    # Find contours in the image\r\n    cnts = cv2.findContours(edged.copy(), cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)\r\n    cnts = imutils.grab_contours(cnts)\r\n    cnts = sorted(cnts, key=cv2.contourArea, reverse=True)[:10]\r\n\r\n    screenCnt = None\r\n    # Look for a rectangular contour\r\n    for c in cnts:\r\n        peri = cv2.arcLength(c, True)\r\n        approx = cv2.approxPolyDP(c, 0.018 * peri, True)\r\n        if len(approx) == 4:\r\n            screenCnt = approx\r\n            break\r\n\r\n    if screenCnt is None:\r\n        return \"Error: No license plate detected\"\r\n\r\n    # Create a mask for the license plate's shape\r\n    mask = np.zeros(gray.shape, np.uint8)\r\n    cv2.drawContours(mask, [screenCnt], 0, 255, -1)\r\n\r\n    # Apply the mask to the original image\r\n    new_image = cv2.bitwise_and(img, img, mask=mask)\r\n\r\n    # Find the coordinates of the license plate and crop the image\r\n    (x, y) = np.where(mask == 255)\r\n    (topx, topy) = (np.min(x), np.min(y))\r\n    (bottomx, bottomy) = (np.max(x), np.max(y))\r\n    cropped = gray[topx:bottomx+1, topy:bottomy+1]\r\n\r\n    # Use Tesseract OCR to recognize characters\r\n    text = pytesseract.image_to_string(cropped, lang='eng', config='--psm 13')\r\n\r\n    return text.strip() if text else \"Error: Unable to recognize license plate\"\r\n\r\n# Function to handle Telegram messages\r\ndef handle_message(msg):\r\n    \"\"\"\r\n    Handles the messages received from the Telegram bot and initiates the license plate detection process.\r\n\r\n    Args:\r\n        msg (dict): The message received from Telegram.\r\n    \"\"\"\r\n    chat_id = msg['chat']['id']\r\n    i = 0\r\n\r\n    while True:\r\n        image_path = f\"timelapse\/image{i:04d}.jpg\"\r\n        i += 1\r\n\r\n        # Capture an image using libcamera\r\n        if not capture_image(image_path):\r\n            time.sleep(10)  # Retry if the capture fails\r\n            continue\r\n\r\n        # Detect the license plate\r\n        license_plate_text = detect_license_plate(image_path)\r\n\r\n        # Send the photo and license plate text to the Telegram bot\r\n        bot.sendPhoto(chat_id, open(image_path, 'rb'))\r\n        bot.sendMessage(chat_id, f\"Detected License Plate: {license_plate_text}\")\r\n\r\n        time.sleep(10)  # Wait 10 seconds before capturing the next image\r\n\r\n# Main function to start the bot\r\ndef main():\r\n    \"\"\"\r\n    Main function to initialize the Telegram bot and start the message loop.\r\n    \"\"\"\r\n    global bot  # Declare the bot variable as global\r\n    bot = telepot.Bot(\"yourapikey\")  # Replace with your API key\r\n    MessageLoop(bot, handle_message).run_as_thread()\r\n\r\n    print(\"Telegram bot started. Listening for messages...\")\r\n\r\n    # Keep the bot active\r\n    while True:\r\n        time.sleep(10)\r\n\r\n# Only run the program if executed directly\r\nif __name__ == \"__main__\":\r\n    main()\r\n<\/pre>\n<p style=\"text-align: justify\">Esegui il codice, vai sul bot e scrivi \/start, e mettiamo una bella targa davanti alla <a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=4e4097328b43bf9af7ed8ea08b95cb0e&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspicam, telecamera, cam\">cam<\/a>.<\/p>\n<p style=\"text-align: justify\">Ecco qui il risultato:<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-22033\" src=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/safaf.png?resize=793%2C533&#038;ssl=1\" alt=\"targhe\" width=\"793\" height=\"533\" srcset=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/safaf.png?resize=1024%2C688&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/safaf.png?resize=300%2C201&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/safaf.png?resize=768%2C516&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/safaf.png?w=1382&amp;ssl=1 1382w\" sizes=\"auto, (max-width: 793px) 100vw, 793px\" \/><\/p>\n<h4 style=\"text-align: justify\">Spiegazione dei parametri di <code>libcamera-still<\/code><\/h4>\n<p style=\"text-align: justify\">Il comando <code>libcamera-still<\/code> che utilizziamo per catturare le immagini include vari parametri:<\/p>\n<ul style=\"text-align: justify\">\n<li><code>-t 100<\/code>: Imposta il tempo di attesa per l&#8217;acquisizione dell&#8217;immagine.<\/li>\n<li><code>--autofocus-mode auto<\/code>: Attiva la modalit\u00e0 autofocus automatica.<\/li>\n<li><code>-o {image_path}<\/code>: Specifica il percorso di salvataggio dell&#8217;immagine.<\/li>\n<li><code>--width 1920 --height 1080<\/code>: Definisce la risoluzione dell&#8217;immagine in pixel.<\/li>\n<li><code>--quality 90<\/code>: Imposta la qualit\u00e0 dell\u2019immagine in percentuale (90%).<\/li>\n<\/ul>\n<p style=\"text-align: justify\">Per ulteriori dettagli sui parametri, puoi consultare la <a href=\"https:\/\/docs.arducam.com\/Raspberry-Pi-Camera\/Native-camera\/Libcamera-User-Guide\/\" target=\"_new\" rel=\"noopener\">documentazione ufficiale di Arducam<\/a>.<\/p>\n<h4 style=\"text-align: justify\">Considerazioni finali<\/h4>\n<p style=\"text-align: justify\">I risultati di questo sistema dipendono dalla qualit\u00e0 delle immagini acquisite. Fattori come la luce, l&#8217;angolazione e la chiarezza dell&#8217;immagine possono influenzare la precisione del riconoscimento. Consigliamo di ottimizzare il setup per migliorare l&#8217;affidabilit\u00e0 del sistema.<\/p>\n<h4 style=\"text-align: justify\">Possibili problemi<\/h4>\n<ul style=\"text-align: justify\">\n<li>Verifica se la cartella timelapse \u00e8 stata creata correttamente sul desktop<\/li>\n<li><strong>Permessi insufficienti:<\/strong> Assicurati che lo script Python abbia i permessi necessari per scrivere nella cartella <em>timelapse<\/em>. Puoi modificarli con:\n<pre class=\"lang:default decode:true \">chmod -R 777 \/home\/pi\/Desktop\/timelapse<\/pre>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify\"><strong>Iscriviti ai nostri gruppi Telegram<\/strong><\/p>\n<ul style=\"text-align: justify\">\n<li><a href=\"https:\/\/t.me\/makeritalia\">Gruppo Maker Italia<\/a><\/li>\n<li><a href=\"https:\/\/t.me\/offertepermakers\">Canale Offerte per prodotti maker<\/a><\/li>\n<\/ul>\n<p style=\"text-align: justify\"><strong>Link utili<\/strong><\/p>\n<ul style=\"text-align: justify\">\n<li><a href=\"https:\/\/amzn.to\/311kqh7\">Arduino UNO R3<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/2Rwbrl4\">Elegoo UNO R3<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/2O2xCwT\">Arduino Starter Kit per principianti<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/2U2CDJW\">Elegoo Advanced Starter Kit<\/a><\/li>\n<li><a href=\"https:\/\/amzn.to\/2RTjQOx\">Arduino Nano<\/a><\/li>\n<\/ul>\n<div style=\"text-align: justify\">\n<p><strong>Seguici per non perdere le prossime novit\u00e0!<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&amp;hosted_button_id=XCW8T56HHE4QL&amp;source=url\" rel=\"noopener noreferrer\">Donate<\/a><\/li>\n<li><a href=\"https:\/\/www.youtube.com\/channel\/UCFFSDYPL0-Fx6OvJD28GP8A\" rel=\"noopener noreferrer\">Youtube<\/a><\/li>\n<li><a href=\"https:\/\/www.moreware.org\/wp\/\" target=\"_blank\" rel=\"noopener noreferrer\">Blog<\/a><\/li>\n<li><a href=\"https:\/\/www.facebook.com\/MoreWareOrg\" rel=\"noopener noreferrer\">Facebook<\/a><\/li>\n<li><a href=\"https:\/\/twitter.com\/MoreWare20\" rel=\"noopener noreferrer\">Twitter<\/a><\/li>\n<li><a href=\"https:\/\/it.linkedin.com\/in\/luigimorelli\" rel=\"noopener noreferrer\">Linkedin<\/a><\/li>\n<\/ul>\n<\/div>\n<p style=\"text-align: justify\">\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In questo articolo esploreremo come realizzare un sistema automatizzato per il riconoscimento delle targhe automobilistiche utilizzando <a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=82656ec7b17752ecd8d9f7203c331310&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspberry, raspberrypi, raspberry PI\">Raspberry Pi<\/a> Compute Module 4 (CM4), la carrier board Ochin V2 e una <a title=\"\" class=\"aalmanual\" target=\"_blank\"   href=\"https:\/\/www.amazon.it\/gp\/search?ie=UTF8&#38;tag=morewareblog-21&#38;linkCode=ur2&#38;linkId=82656ec7b17752ecd8d9f7203c331310&#38;camp=3414&#38;creative=21718&#38;index=aps&#38;keywords=raspberry, raspberrypi, raspberry PI\">Raspberry Pi<\/a> Camera. Questo progetto consente di leggere le targhe dei veicoli ogni pochi secondi e, in caso di rilevamento, di<\/p>\n","protected":false},"author":5,"featured_media":22035,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[26,2,42,92],"tags":[859,1572,1573,174,1592,318],"class_list":["post-22032","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hardware","category-raspberry-pi","category-sbc","category-tutorial","tag-cm4","tag-ochin","tag-ochin-v2","tag-raspberry-pi","tag-raspberry-pi-compute-4","tag-seeed-studio","has-featured-image"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2 - Moreware Blog<\/title>\n<meta name=\"description\" content=\"In questo articolo esploreremo come realizzare un sistema automatizzato per il riconoscimento delle targhe automobilistiche utilizzando...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2 - Moreware Blog\" \/>\n<meta property=\"og:description\" content=\"In questo articolo esploreremo come realizzare un sistema automatizzato per il riconoscimento delle targhe automobilistiche utilizzando...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/\" \/>\n<meta property=\"og:site_name\" content=\"Moreware Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Cygni.61\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/simone.candido.370\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-17T06:19:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1275\" \/>\n\t<meta property=\"og:image:height\" content=\"716\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Simone Candido\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@simonecandido02\" \/>\n<meta name=\"twitter:site\" content=\"@MoreWare20\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simone Candido\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/\"},\"author\":{\"name\":\"Simone Candido\",\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/#\\\/schema\\\/person\\\/507ca2a676d34903ed04bdf630310f7c\"},\"headline\":\"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2\",\"datePublished\":\"2024-09-17T06:19:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/\"},\"wordCount\":831,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/#\\\/schema\\\/person\\\/5b58b2bca7f834b923832944d7feed16\"},\"image\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.moreware.org\\\/wp\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1\",\"keywords\":[\"cm4\",\"ochin\",\"ochin v2\",\"Raspberry Pi\",\"raspberry pi compute 4\",\"Seeed Studio\"],\"articleSection\":[\"Hardware\",\"Raspberry Pi\",\"SBC\",\"Tutorial\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/\",\"url\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/\",\"name\":\"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2 - Moreware Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.moreware.org\\\/wp\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1\",\"datePublished\":\"2024-09-17T06:19:56+00:00\",\"description\":\"In questo articolo esploreremo come realizzare un sistema automatizzato per il riconoscimento delle targhe automobilistiche utilizzando...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.moreware.org\\\/wp\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.moreware.org\\\/wp\\\/wp-content\\\/uploads\\\/2024\\\/09\\\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1\",\"width\":1275,\"height\":716},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/2024\\\/09\\\/17\\\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/#website\",\"url\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/\",\"name\":\"Moreware Blog\",\"description\":\"Mindware site for Raspberry PI and Arduino prototyping\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/#\\\/schema\\\/person\\\/5b58b2bca7f834b923832944d7feed16\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/#\\\/schema\\\/person\\\/5b58b2bca7f834b923832944d7feed16\",\"name\":\"Luigi_Morelli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.moreware.org\\\/wp\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/luigisax.jpg?fit=540%2C540&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.moreware.org\\\/wp\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/luigisax.jpg?fit=540%2C540&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.moreware.org\\\/wp\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/luigisax.jpg?fit=540%2C540&ssl=1\",\"width\":540,\"height\":540,\"caption\":\"Luigi_Morelli\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.moreware.org\\\/wp\\\/wp-content\\\/uploads\\\/2019\\\/07\\\/luigisax.jpg?fit=540%2C540&ssl=1\"},\"description\":\"Definire ci\u00f2 che si \u00e8 non risulta mai semplice o intuitivo, in specie quando nella vita si cerca costantemente di migliorarsi, di crescere tanto professionalmente quanto emotivamente. Lavoro per contribuire al mutamento dei settori cardine della computer science e per offrire sintesi ragionate e consulenza ad aziende e pubblicazioni ICT, ma anche perche\u2019 ci\u00f2 che riesco a portare a termine mi d\u00e0 soddisfazione, piacere. Cos\u00ec come mi piace suonare (sax, tastiere, chitarra), cantare, scrivere (ho pubblicato 350 articoli scientfici e 3 libri sinora, ma non ho concluso ci\u00f2 che ho da dire), leggere, Adoro la matematica, la logica, la filosofia, la scienza e la tecnologia, ed inseguo quel concetto di homo novus rinascimentale, cercando di completare quelle sezioni della mia vita che ancora appaiono poco ricche.\",\"sameAs\":[\"http:\\\/\\\/www.moreware.org\",\"https:\\\/\\\/www.facebook.com\\\/Cygni.61\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/luigimorelli\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/MoreWare20\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCFFSDYPL0-Fx6OvJD28GP8A\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/#\\\/schema\\\/person\\\/507ca2a676d34903ed04bdf630310f7c\",\"name\":\"Simone Candido\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a716bd925ddaf3fbd8741bd815106753854801ed58350fafe429c60b5161c117?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a716bd925ddaf3fbd8741bd815106753854801ed58350fafe429c60b5161c117?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a716bd925ddaf3fbd8741bd815106753854801ed58350fafe429c60b5161c117?s=96&d=mm&r=g\",\"caption\":\"Simone Candido\"},\"description\":\"Simone Candido \u00e8 un ragazzo appassionato del mondo tech nella sua totalit\u00e0. Simone ama immedesimarsi in nuove esperienze, la sua filosofia si basa sulla irrefrenabile voglia di ampliare a 360\u00b0 le sue conoscenze abbracciando tutti i campi del sapere, in quanto ritiene che il sapere umano sia il connubio perfetto tra cultura umanistica e scientifica.\",\"sameAs\":[\"https:\\\/\\\/www.gamesource.it\\\/author\\\/simod_pcandido\\\/\",\"https:\\\/\\\/www.facebook.com\\\/simone.candido.370\",\"https:\\\/\\\/www.instagram.com\\\/simod_pcandido\\\/?hl=it\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/simone-candido-53b696146\\\/\",\"https:\\\/\\\/x.com\\\/simonecandido02\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCFFSDYPL0-Fx6OvJD28GP8A\\\/about\"],\"url\":\"https:\\\/\\\/www.moreware.org\\\/wp\\\/blog\\\/author\\\/simonecandido\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2 - Moreware Blog","description":"In questo articolo esploreremo come realizzare un sistema automatizzato per il riconoscimento delle targhe automobilistiche utilizzando...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/","og_locale":"en_US","og_type":"article","og_title":"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2 - Moreware Blog","og_description":"In questo articolo esploreremo come realizzare un sistema automatizzato per il riconoscimento delle targhe automobilistiche utilizzando...","og_url":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/","og_site_name":"Moreware Blog","article_publisher":"https:\/\/www.facebook.com\/Cygni.61","article_author":"https:\/\/www.facebook.com\/simone.candido.370","article_published_time":"2024-09-17T06:19:56+00:00","og_image":[{"width":1275,"height":716,"url":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1","type":"image\/jpeg"}],"author":"Simone Candido","twitter_card":"summary_large_image","twitter_creator":"@simonecandido02","twitter_site":"@MoreWare20","twitter_misc":{"Written by":"Simone Candido","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/#article","isPartOf":{"@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/"},"author":{"name":"Simone Candido","@id":"https:\/\/www.moreware.org\/wp\/#\/schema\/person\/507ca2a676d34903ed04bdf630310f7c"},"headline":"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2","datePublished":"2024-09-17T06:19:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/"},"wordCount":831,"commentCount":0,"publisher":{"@id":"https:\/\/www.moreware.org\/wp\/#\/schema\/person\/5b58b2bca7f834b923832944d7feed16"},"image":{"@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1","keywords":["cm4","ochin","ochin v2","Raspberry Pi","raspberry pi compute 4","Seeed Studio"],"articleSection":["Hardware","Raspberry Pi","SBC","Tutorial"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/","url":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/","name":"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2 - Moreware Blog","isPartOf":{"@id":"https:\/\/www.moreware.org\/wp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/#primaryimage"},"image":{"@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1","datePublished":"2024-09-17T06:19:56+00:00","description":"In questo articolo esploreremo come realizzare un sistema automatizzato per il riconoscimento delle targhe automobilistiche utilizzando...","breadcrumb":{"@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/#primaryimage","url":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1","width":1275,"height":716},{"@type":"BreadcrumbList","@id":"https:\/\/www.moreware.org\/wp\/blog\/2024\/09\/17\/riconoscimento-targhe-con-raspberry-pi-cm4-e-ochin-v2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.moreware.org\/wp\/"},{"@type":"ListItem","position":2,"name":"Riconoscimento targhe con Raspberry Pi CM4 e Ochin V2"}]},{"@type":"WebSite","@id":"https:\/\/www.moreware.org\/wp\/#website","url":"https:\/\/www.moreware.org\/wp\/","name":"Moreware Blog","description":"Mindware site for Raspberry PI and Arduino prototyping","publisher":{"@id":"https:\/\/www.moreware.org\/wp\/#\/schema\/person\/5b58b2bca7f834b923832944d7feed16"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.moreware.org\/wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.moreware.org\/wp\/#\/schema\/person\/5b58b2bca7f834b923832944d7feed16","name":"Luigi_Morelli","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2019\/07\/luigisax.jpg?fit=540%2C540&ssl=1","url":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2019\/07\/luigisax.jpg?fit=540%2C540&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2019\/07\/luigisax.jpg?fit=540%2C540&ssl=1","width":540,"height":540,"caption":"Luigi_Morelli"},"logo":{"@id":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2019\/07\/luigisax.jpg?fit=540%2C540&ssl=1"},"description":"Definire ci\u00f2 che si \u00e8 non risulta mai semplice o intuitivo, in specie quando nella vita si cerca costantemente di migliorarsi, di crescere tanto professionalmente quanto emotivamente. Lavoro per contribuire al mutamento dei settori cardine della computer science e per offrire sintesi ragionate e consulenza ad aziende e pubblicazioni ICT, ma anche perche\u2019 ci\u00f2 che riesco a portare a termine mi d\u00e0 soddisfazione, piacere. Cos\u00ec come mi piace suonare (sax, tastiere, chitarra), cantare, scrivere (ho pubblicato 350 articoli scientfici e 3 libri sinora, ma non ho concluso ci\u00f2 che ho da dire), leggere, Adoro la matematica, la logica, la filosofia, la scienza e la tecnologia, ed inseguo quel concetto di homo novus rinascimentale, cercando di completare quelle sezioni della mia vita che ancora appaiono poco ricche.","sameAs":["http:\/\/www.moreware.org","https:\/\/www.facebook.com\/Cygni.61","https:\/\/www.linkedin.com\/in\/luigimorelli\/","https:\/\/x.com\/https:\/\/twitter.com\/MoreWare20","https:\/\/www.youtube.com\/channel\/UCFFSDYPL0-Fx6OvJD28GP8A"]},{"@type":"Person","@id":"https:\/\/www.moreware.org\/wp\/#\/schema\/person\/507ca2a676d34903ed04bdf630310f7c","name":"Simone Candido","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a716bd925ddaf3fbd8741bd815106753854801ed58350fafe429c60b5161c117?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a716bd925ddaf3fbd8741bd815106753854801ed58350fafe429c60b5161c117?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a716bd925ddaf3fbd8741bd815106753854801ed58350fafe429c60b5161c117?s=96&d=mm&r=g","caption":"Simone Candido"},"description":"Simone Candido \u00e8 un ragazzo appassionato del mondo tech nella sua totalit\u00e0. Simone ama immedesimarsi in nuove esperienze, la sua filosofia si basa sulla irrefrenabile voglia di ampliare a 360\u00b0 le sue conoscenze abbracciando tutti i campi del sapere, in quanto ritiene che il sapere umano sia il connubio perfetto tra cultura umanistica e scientifica.","sameAs":["https:\/\/www.gamesource.it\/author\/simod_pcandido\/","https:\/\/www.facebook.com\/simone.candido.370","https:\/\/www.instagram.com\/simod_pcandido\/?hl=it","https:\/\/www.linkedin.com\/in\/simone-candido-53b696146\/","https:\/\/x.com\/simonecandido02","https:\/\/www.youtube.com\/channel\/UCFFSDYPL0-Fx6OvJD28GP8A\/about"],"url":"https:\/\/www.moreware.org\/wp\/blog\/author\/simonecandido\/"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.moreware.org\/wp\/wp-content\/uploads\/2024\/09\/ncQkinVYPnM-HD.jpg?fit=1275%2C716&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p80TdZ-5Jm","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/posts\/22032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/comments?post=22032"}],"version-history":[{"count":2,"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/posts\/22032\/revisions"}],"predecessor-version":[{"id":22036,"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/posts\/22032\/revisions\/22036"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/media\/22035"}],"wp:attachment":[{"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/media?parent=22032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/categories?post=22032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moreware.org\/wp\/wp-json\/wp\/v2\/tags?post=22032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}