This file contains hidden or 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
| https://pytorch.org/hub/facebookresearch_pytorchvideo_slowfast/ | |
| https://github.com/experiencor/keras-yolo2 |
This file contains hidden or 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
| https://github.com/eriklindernoren/Action-Recognition | |
| https://github.com/suraj-maniyar/Activity-Recognition-From-Video | |
| https://github.com/s-ankur/human-activity-dih18 - coco weights |
This file contains hidden or 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
| https://github.com/tianyu0207/RTFM | |
| https://github.com/seominseok0429/Real-world-Anomaly-Detection-in-Surveillance-Videos-pytorch --> | |
| https://github.com/fjchange/MIST_VAD--> | |
| https://github.com/OmRajpurkar/Alert-Generation-on-Detection-of-Suspicious-Activity-using-Transfer-Learning | |
| https://github.com/1amitos1/Shoplifting-Detection => MAIL |
This file contains hidden or 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
| Resolve that issue with below command | |
| npx create-react-app@latest my-app --use-npm |
This file contains hidden or 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
| import pandas as pd | |
| import _json | |
| cam_details = pd.read_csv('outputs.txt', sep=r'(?:,\s*|^)(?:\d+: \d+x\d+|Done[^)]+\)\s*)', | |
| header=None, engine='python', names=(None, 'a', 'b', 'date')).iloc[:, 1:] | |
| # Splits the date part and the status part into two columns (your status is being dragged into the date column) | |
| cam_details[['date', 'status']] = cam_details['date'].map(lambda x: x.split('status')).tolist() | |
| # Clean up the status column which still has the colons and extra whitespaces |
This file contains hidden or 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
| with open('output_test.txt','r') as file: | |
| data = file.readlines() | |
| for a in range(len(data)): | |
| if 'person' in data[a] and 'tv' in data[a]: | |
| data[a] = data[a].replace('\n','') + ' status : Low\n' | |
| else: | |
| data[a] = data[a] + ' status : High\n' | |
| with open('outputs.txt','w') as file: |
This file contains hidden or 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
| section 1 : | |
| ------------------------------------------------------------------- | |
| step 1 : Create Repository on github page | |
| step 2 : Push code to Existing Repository in github | |
| - using ( git remote add origin https://github.com/Chuttyboy/ag-grid_vidpopup ) | |
| step 3 : Add file to git using ( git add -A ) |
This file contains hidden or 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
| import pandas as pd | |
| import _json | |
| cam_details = pd.read_csv('output.txt', sep=r'(?:,\s*|^)(?:\d+: \d+x\d+|Done[^)]+\)\s*)', | |
| header=None, engine='python', names=(None, 'a', 'b', 'date')).iloc[:, 1:] | |
| cam_details.to_json('file1.json', orient = "records", date_format = "epoch", double_precision = 10, | |
| force_ascii = True, date_unit = "ms", default_handler = None) |
This file contains hidden or 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
| """ | |
| python3 detect.py --weights yolov5s.pt --source 0 | |
| """ | |
| import argparse | |
| import os | |
| import sys | |
| from pathlib import Path | |
| from turtle import pd | |
| import datetime |
This file contains hidden or 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
| To start Apache | |
| systemctl start apache2.service | |
| To stop Apache | |
| systemctl stop apache2.service | |
| To Restart Apache | |
| systemctl restart apache2.service | |
| ---------------------------------------------------------------------------------- |
NewerOlder