# replace mask.png with your mask file name.
for i in *.png; do convert $i mask.png -gravity center -composite $i; 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
const express = require('express'); | |
const { AsyncLocalStorage } = require('async_hooks'); | |
const http = require('http'); | |
const asyncLocalStorage = new AsyncLocalStorage(); | |
const app = express(); | |
app.use((req, res, next) => { | |
asyncLocalStorage.run({ | |
seqId: req.query.seqId // Set here |
for i in *.asf; do ffmpeg -i $i -bsf:v h264_mp4toannexb -c:v copy $i.mp4; done
ffmpeg -ss 00:00:00 -i NVR_ch1_main_20180712001236_20180712005603.dav.mp4 -t 00:21:00 -vcodec copy -acodec copy newfile.mp4
mysqldump -u root -p violet --ignore-table=violet.challan --where='1 limit 100'> all.sql
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
{ | |
"ways": [ | |
{ | |
"wayId": 1, | |
"intensityRatio": 100, | |
"upperLeft": [ | |
527, | |
90 | |
], | |
"url": "/home/ravi/Programming/vehicle-detection/Samples/dav26/1.mp4", |