jupyter app.png

AI and Data Analysis: the Jupyter App

MauroRiboniMX
Contributor
Disclaimer

The goal is to use ctrlX CORE or a ctrlX OS as AI/Data analysis platform and code directly over the device without the necessity to create anytime an application.
Jupyter APP ctrXJupyter APP ctrX

Requirements:
  • ctrlX CORE - x3 or x7 or a ctrlX OS installation
  • Please note: Jupyter app is coming soon - Currently only available as B-Sample
STEP0: install the app

Once installed the Jupyter app will be present on the left sidebar. 

Jupyter SidebarJupyter Sidebar

Once we click on the Jupyter icon the app opens up. We can modify the content of the active directory and upload here our files. 

Jupyter codeJupyter code

 

STEP1: Install and use libraries

To install and use PIP downloadable libraries is very simple! First we need to open a new terminal and decide where to install the libraries. The command we need to run is:

pip3 install LIBRARY -t LOCATION


The library is then downloaded and installed in the chosen directory, it is suggested to use:

  • SNAP_DATA: only for the app.
  • SNAP_COMMON: mantained if the up is updated.
  • SNAP_COMMON/solutions/activeConfiguration/YOURLIBRARYFOLDER (see below to create the folder): it is possible to backup and restore the libraries in this way!

For the first and second method we can direclty run the installation command!Install PIP packagesInstall PIP packages

For the last method we need to create the library first, how? We open up a terminal and we run the following command, taking in account thet we want to create a folder that is called "mylibs".

mkdir $SNAP_COMMON/solutions/activeConfiguration/mylibs


create Foldercreate Folder

Once the right libraries are there, we can create our Notebook. We need to add the created folder to the python folders in order to be able to use the libraries!

use folderuse folder

If we used the last method our code should look like this:

use folder persistentuse folder persistent

STEP2: Upload zip files

The app is equipped with the unzip packet. we can upload a file and the use the unzip command to unzip the archive in the local folder!

Have Fun!

Tasty_Tech
Tasty_Tech
I'm a passionate mechatronics aficionado and a creative soul who thrives on the art of innovation. By day, I engineer solutions in factory automation, tackling industry challenges with a cup of tea as my trusty companion. My journey is defined by a love for building robotics and automation projects that push boundaries and solve real-world problems. From concept to creation, I relish the thrill of taking on new challenges, finding technological solutions, and collaborating with like-minded individuals to bring ideas to life.
4 Comments
giustola69
Long-established Member

Well Done!!!!

Always on the run!!!!

MauroRiboniMX
Contributor

Grazie mille @giustola69!!

wayanadi
New Poster

I am excited about this app, so let me know when the app published?  

Tasty_Tech
Long-established Member

Hello Team,

Thats interesting!!

I am interested to use yolo app for object detection, is it possible using the core and also with this app?

Thank you

Must Read
Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist