-
NVIDIA SDK Manager is used for NVIDIA’s Jetson. Ubuntu 18.04 LTS Highly recommended. Doesn't work otherwise.
-
Download SDK manager from this link https://developer.nvidia.com/nvidia-sdk-manager
-
Ubuntu: from a terminal window, install the Debian package with the command:
download the directory
https://drive.google.com/drive/folders/1W9jnEPAa68BQ0PALFMpTq4gPCE-8YnQ7?usp=sharing
in the terminal inside the directory LINUX_DRIVER
$sudo make install INTERFACE=all
for more details and extra configurations LINUX_DRIVER/doc/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#starting from 11 to 33 the array contains the timestamps of the video and each sub part will be 4 seconds after that. | |
array=(00:07:43 00:07:52 00:08:07 00:08:25 00:08:38 00:09:19 00:09:27 00:09:40 00:10:06 00:10:23 00:10:32 00:10:53 00:11:03 00:11:17 00:11:41 00:12:01 00:12:15 00:13:01 00:13:15 00:13:32 00:13:50) | |
counter=0 | |
for i in `seq -w 11 33` | |
do | |
ffmpeg -i VID_20210218_172619.mp4 -ss "${array[counter]}" -t 00:00:04 -c copy "cut""$i.mp4" | |
echo ${array[counter]} >> dump.txt | |
((counter++)) | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def ransac_polyfit(x, y, order=3, n=20, k=100, t=0.1, d=100, f=0.8): | |
# Thanks https://en.wikipedia.org/wiki/Random_sample_consensus | |
# n – minimum number of data points required to fit the model | |
# k – maximum number of iterations allowed in the algorithm | |
# t – threshold value to determine when a data point fits a model | |
# d – number of close data points required to assert that a model fits well to data | |
# f – fraction of close data points required | |
besterr = np.inf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default ignored files | |
/shelf/ | |
/workspace.xml | |
# Datasource local storage ignored files | |
/dataSources/ | |
/dataSources.local.xml | |
# Editor-based HTTP Client requests | |
/httpRequests/ |