Tuesday, October 26, 2021

DeepStream SDK on NVIDIA Jetson

DeepStream SDK on NVIDIA Jetson

What is DeepStream SDK?

Build and deploy AI-powered Intelligent Video Analytics apps and services. DeepStream offers a multi-platform scalable framework with TLS security to deploy on the edge and connect to any cloud.

  • Develop in C/C++ or Python
  • Built for scalability - one application for NVIDIA T4 and Jetson platforms
  • Highest throughput for object detection, image classification and semantic segmentation models
  • Deploy models in native DL frameworks such as Pytorch and TensorFlow for inference
  • IoT integration interface with Kafka, MQTT and AMQP
  • Turnkey integration with AWS IoT and Microsoft Azure IoT
  • Multi-GPU, multi-stream and batching support for high throughput inference




Why do we use DeepStream SDK?

DeepStream SDK design for NVIDIA Jetson Family. So, For the best performance.


Install DeepStream SDK



For NVIDIA Jetson


Sample Python Applications

We currently provide the following sample applications:

Detailed application information is provided in each application's subdirectory under apps.



deepstream-test1 python 


In this sample, we first create one instance of "nvinfer", referred as the pgie.
This is our 4 class detector and it detects for "Vehicle , RoadSign, TwoWheeler,
Person".


Run Linux Command


jetson@nano:~/deepstream_python_apps/apps/deepstream-test1$ python deepstream_test_1.py /home/jetson/Videos/streams/sample_720p.h264 


TEST on NVIDIA Jetson Nano

• Jetpack SDK 4.5.1 • DeepStream SDK 5.1 • Python 3.6.9 • CUDA 10.2.89 • TensorRT 7.1.3 • Machine Learning Model : ResNet10 backbone ( FP16 ) • Video 1200x720 H.264


Python Source code

https://github.com/NVIDIA-AI-IOT/deepstream_python_apps


Performance Compare





Adun Nantakaew อดุลย์ นันทะแก้ว 081-6452400
LINE : adunnan

                


Sunday, February 14, 2021

NVIDIA Jetson Family Overview

NVIDIA Jetson Family Overview

For Computer Vision and AI development.

What is NVIDIA Jetson ?

NVIDIA Jetson is new product line form NVIDIA Corp.

NVIDIA Jetson is low-cost AI Computer. ( Edge Computing )


NVIDIA Jetson Nano Spec.

NVIDIA Jetson has 2 platforms  Jetson Development Kits and Jetson Module

NVIDIA Jetson Family




The newest member of the Jetson family! ( Apr 2020 )


Jetson AI Certification

https://developer.nvidia.com/embedded/learn/jetson-ai-certification-programs


Jetson Community Projects

https://developer.nvidia.com/embedded/community/jetson-projects





Adun Nantakaew อดุลย์ นันทะแก้ว 081-6452400
LINE : adunnan

                   https://microcontrollerkits.blogspot.com/

Friday, January 22, 2021

NVIDIA Jetson Performance Monitor with OLED Display

NVIDIA Jetson Performance Monitor on OLED Display

Last article is OLED Display on Jetson Nano . Now we use that for Jetson Nano performance monitor.

Test on 

  • NVIDIA Jetson Nano Developer Kit ( 4 GB )
  • Jetpack SDK 4.4.1 ( L4T 32.4.4 )

OLED Display 

128x32 or 128x64 SSD1306 OLED Display

Wiring Diagram


We've make expansion board for wiring.
 



Source Code on Github

Install Jetson-stats https://github.com/rbonghi/jetson_stats

Then Install PiOLED https://github.com/amphancm/installPiOLED

Run Code

~/installPiOLED/pioled$ python3 stats.py 

Press Switch Button is change page.
Page 1 Display

Page 2 Display

Page 3 Display

Page 4 Display

Reference

https://github.com/JetsonHacksNano/installPiOLED

https://github.com/rbonghi/jetson_stats



Adun Nantakaew อดุลย์ นันทะแก้ว 081-6452400
LINE : adunnan



Monday, January 18, 2021

OLED Display on NVIDIA Jetson Nano

 

OLED Display on NVIDIA Jetson Nano

On JetBot (JetBot is an open-source robot based on NVIDIA Jetson Nano.) It has 128x64 OLED and Connector. it's good idea for show something. 







We can use 128x64 OLED Display. ( more popular in the market and low cost )


Wiring Diagram ( same Raspberry pi connector )

I2C connection pin

http://raspberrypi4u.blogspot.com/2017/01/raspberry-pi-oled-i2c.html

OLED Driver and samples from Adafruit

Install the Adafruit PiOLED 128x32 Monochrome OLED driver (3527)

Adafruit-SSD1306 library

https://github.com/JetsonHacksNano/installPiOLED


Reference

https://github.com/JetsonHacksNano/installPiOLED

https://custom-build-robots.com/top-story-en/jetson-nano-oled-display-ssd1306/12124

https://learn.adafruit.com/adafruit-gfx-graphics-library/using-fonts

https://www.freefontspro.com/



Adun Nantakaew อดุลย์ นันทะแก้ว 081-6452400
LINE : adunnan

Tuesday, January 12, 2021

NVIDIA Jetson Nano Bitcoin Mining

What is Bitcoin Mining?

With Bitcoin, miners use special software to solve math problems and are issued a certain number of bitcoins in exchange. This provides a smart way to issue the currency and also creates an incentive for more people to mine.


Why is Monero Coin ( XMR ) ?

Unlike many cryptocurrencies that are derivatives of Bitcoin, Monero is based on the CryptoNote protocol and possesses significant algorithmic differences relating to blockchain obfuscation.
By providing a high level of privacy, Monero is fungible, meaning that every unit of the currency can be substituted by another unit. These units are indistinguishable from one another. This makes Monero different from public-ledger cryptocurrencies like Bitcoin, where addresses previously associated with undesired activity can be blacklisted and refused by network members.

Can the NVIDIA Jetson Nano be used for Bitcoin mining?

It can, just not efficiently.

Then for education purpose.


How many it can?   only 16.xx H/s


if you have 1600 H/s you will get 0.00002 BTC/week.
But NVIDIA Jetson Nano can get only 16 H/s.

Power Consumption of NVIDIA Jetson Nano

use jtop command line


Mining Software

xmrMiner - A CUDA based miner for Monero ( https://github.com/xmrMiner/xmrMiner )

xmrMiner 0.3.0 is ready for the Monero hardfork v7



Reference

http://raspberrypi4u.blogspot.com/2017/11/raspberry-pi-bitcoin-miner-monero-xmr.html

https://www.quora.com/Can-the-NVIDIA-Jetson-TX1-be-used-for-Bitcoin-mining

https://minergate.com/

https://github.com/xmrMiner/xmrMiner




Adun Nantakaew อดุลย์ นันทะแก้ว 081-6452400
LINE : adunnan