How to install the Deepstream via docker container
Skip this step if you already had the docker and nvidia-docker
docker pull nvcr.io/nvidia/deepstream:5.1-21.02-samples
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Mon Feb 20 14:02:08 2017 | |
| @author: Abhik | |
| """ | |
| import os | |
| import cv2 | |
| import numpy as np | |
| from PIL import Image |
| #include<stdio.h> | |
| #include<stdlib.h> | |
| struct tree{ | |
| int data; | |
| struct tree *left; | |
| struct tree *right; | |
| }; | |
| struct tree *head = NULL; | |
| struct tree *newTree(int input){ | |
| struct tree *temp = (struct tree *)malloc(sizeof(struct tree)); |
| # -*- coding: utf-8 -*- | |
| """ | |
| Created on Mon Oct 10 10:33:04 2016 | |
| @author: abhik | |
| Stack Implementation | |
| """ | |
| class Stack(object): | |
| def __init__(self,limit=10): | |
| self.stk=[] | |
| self.limit=limit |