element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experimenting with Waterproof Connectors
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Waterproof Connectors
  • More
  • Cancel
Experimenting with Waterproof Connectors
Blog Experimenting with Waterproof Connectors #3 OpenVINO in LettaPanda
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experimenting with Waterproof Connectors to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fyaocn
  • Date Created: 22 May 2023 4:42 AM Date Created
  • Views 326 views
  • Likes 9 likes
  • Comments 0 comments
Related
Recommended

Experimenting with Waterproof Connectors #3 OpenVINO in LettaPanda

fyaocn
fyaocn
22 May 2023

OpenVINO in LettaPanda

Table of Contents

  • 1. Start LettaPanda
  • 2. Prepare OpenVINO development
  • 3. Installation of OpenVINO Notebooks
  • 4. Get to know Object Detection
  • 5. Next what?

1. Start LettaPanda

Letta Panda is special SBC supporting Windows 10, with Intel Atom Core CPU, it is definitely worth trying OpenVINO by Intel on this dev board.

First thing for SBC is to make one fully protected case against unattended damage. Totally hand work drilling holes and cutting opennings.

image

With HDMI display port plugged, and follow theoperation manual, just like normal all-in-one destop computer, press the ON/OFF switch, it goes as easy as anyone can do.

Refer to https://docs.lattepanda.com/content/1st_edition/power_on/

image

From setting-About, here is the parameters. It is typical laptop computer configuration 6~10 years , yet strong enough for AI engine.

image

2. Prepare OpenVINO development

Refer to https://docs.openvino.ai/latest/ for everything needed. OpenVINO is one of versitile AI toolset support Tensorflow, pytorch, paddlepaddle and OMNX.

Runtime is lightweight package and Developmen is full-functional package.In lettaPanda, development package can be installed easily with lines one by one,

python -m venv openvino_env

source openvino_env/bin/activate

python -m pip install --upgrade pip

pip install openvino-dev

Bingo, everything is ready. Only need some time for files downloading.

3. Installation of OpenVINOTm Notebooks

Not sure how to start, that is OK. Install OpenVINO NoteBooks and learn OpenVINO very quick.

Prerequsiton ,

  • Install Python software (3.7, 3.8, 3.9, 3.10) from python.org,
  • Install GIT 64 bit version of GIT from git-scm.org
  • Install C++ Redistributable (option, For Python 3.8 only)

Then, activate virtual environment again

openvino_env\Scripts\activate

Do the following,

git clone --depth=1 https://github.com/openvinotoolkit/openvino_notebooks.git
cd openvino_notebooks
pip install -r requirements.txt
python -m ipykernel install --user --name openvino_env

Then jupyter notebook is ready to run with jupyter or jupyter lab,  like

jupyter 201-vision-monodepth.ipynb

4. Get to know Object Detection

The 401 notebook is WebCam SSD object detection, get to find the tennis now, importing packages first

import collections
import sys
import tarfile
import time
from pathlib import Path

import cv2
import numpy as np
from IPython import display
from openvino import runtime as ov
from openvino.tools.mo.front import tf as ov_tf_front

sys.path.append("../utils")
import notebook_utils as utils

Download the Model,

image

or

image

Transfer to IR format for OpenVINO

image

or

image

Load the Model

image

Now run the object detection, for one video clip, the dog is detected with box outline the object.

image

Now find tennis with USB video camera

image

That is, the start point of Underwater Camera project. just run Object detection on Letta Panda Dev Board. That is sure one easy task as the Windows supporting OpenVINO well enough for the task.

5. Next what?

Another part for lettaPanda, control periperals with Arduino Core, the C++ binding tool shall be coding to bridge the Python Code with Arduino Code. So, install Visual Studio 2017

image

And select C#

image

VS 2017 studio can be installed on LettaPanda , but it is more preferable to be installed on third hosting computer, build .exe to run on lettapanda. That is next step.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube