Install xfce4
sudo apt update
sudo apt install xfce4 xfce4-goodies
Install TigerVNC -
| #!/bin/sh | |
| # anything added here gets executed as the final step of the /etc/rc.local file | |
| # before it gets called rc.local will make sure this script is executable, yay! | |
| chmod +x /persistent/script/loop.sh | |
| chmod +x /persistent/script/process_texts.sh | |
| /persistent/script/loop.sh /persistent/script/process_texts.sh 10 & |
| # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
| # newer versions of the distribution. | |
| deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
| # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted | |
| ## Major bug fix updates produced after the final release of the | |
| ## distribution. | |
| deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted | |
| # deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted |
| import json | |
| data = json.load(open('instances_train2017.json')) | |
| print data.keys() | |
| #OUTPUT : | |
| # [u'info', u'licenses', u'images', u'annotations', u'categories'] | |
| print data['categories'] | |
| ''' |
| echo '{"id":8}' | http --verify=no POST https://service.dev/api/id Content-Type:application/json 'Cookie:XDEBUG_SESSION=PHPSTORM' |
| # -------------------------------------------------------- | |
| # Camera sample code for Tegra X2/X1 | |
| # | |
| # This program could capture and display video from | |
| # IP CAM, USB webcam, or the Tegra onboard camera. | |
| # Refer to the following blog post for how to set up | |
| # and run the code: | |
| # https://jkjung-avt.github.io/tx2-camera-with-python/ | |
| # | |
| # Written by JK Jung <[email protected]> |
| ## http://cvlibs.net/datasets/kitti/eval_semantics.php | |
| ## https://omnomnom.vision.rwth-aachen.de/data/rwth_kitti_semantics_dataset.zip | |
| ### DATASET FOR SEMANTIC SEGMENTATION |
| def _load_simple_annotation(self, index): | |
| """ | |
| Load image and bounding boxes info from txt space separeted values where you have | |
| lines in the format of | |
| classification x1 y1 x2 y2 | |
| """ | |
| filename = os.path.join(self._data_path, 'Annotations', index + '.txt') | |
| # print 'Loading: {}'.format(filename) | |
| with open(filename) as f: |
Direct copy of pre-encoded file:
$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8