lost-and-found-via-yolov5
This is my preliminary video analysis. This code has a low recognition rate in multi-person scenarios and needs to be improved.
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.7%) to scientific vocabulary
Repository
This is my preliminary video analysis. This code has a low recognition rate in multi-person scenarios and needs to be improved.
Basic Info
- Host: GitHub
- Owner: sstoneShen
- License: gpl-3.0
- Language: Python
- Default Branch: main
- Size: 12.9 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Lost-and-Found-via-Yolov5
This is my preliminary video analysis. This code has a low recognition rate in multi-person scenarios and needs to be improved. To save time, I used the official training weight file, and then I could train the model myself if needed.
Frame Extraction
In fact, video surveillance is more used to detect remnants in real scenes, and video streaming is based on pictures, so we need to design a detection algorithm for detecting remnants in pictures first. At this time, because we detect a static image, the # YOLOv5 algorithm # is the most commonly used and effective in the field of target detection. For static pictures, the standard for distinguishing remains and non-remains is to determine whether the distance between the identified person and the box corresponding to the object is maintained within a threshold value.
Target Detection - distance threshold
If the distance between boxes is not maintained within a threshold value, it will be identified as non-left objects. If the distance between boxes is maintained within a threshold value, it will be identified as left objects. The discriminant process of its model is shown as follows.
Target Detection - time threshold
If the distance is greater than the threshold value and remains in this state for a period of time(also can be seen as the number of frames), it can be considered that people and objects are separated and can be identified as left behind. That's the judgment condition.
Flow chart

Areas for improvement
Multi-person scene recognition has not been realized, but if you want to achieve this, the basic idea should be the same, just need to put the central coordinates of each person in each frame picture into the list, and then the central coordinates of the identified dynamic objects and the list of traversal comparison, should be able to identify the missing items.
References and websites
Here are some references and websites. I respect every author's work and learn a lot from their ideas.
[1] K. Lin, S. -C. Chen, C. -S. Chen, D. -T. Lin and Y. -P. Hung, "Abandoned Object Detection via Temporal Consistency Modeling and Back-Tracing Verification for Visual Surveillance," in IEEE Transactions on Information Forensics and Security, vol. 10, no. 7, pp. 1359-1370, July 2015, doi: 10.1109/TIFS.2015.2408263.
[2] GitHub(2022)gamblerInCoding[Source code]. https://github.com/gamblerInCoding/LegacyItems/
Owner
- Name: Sstone
- Login: sstoneShen
- Kind: user
- Location: Hong Kong
- Repositories: 1
- Profile: https://github.com/sstoneShen
B.Eng in Zhejiang University. Ph.D first year in @aiot-lab, the University of Hong Kong.
Citation (CITATION.cff)
cff-version: 1.2.0
preferred-citation:
type: software
message: If you use YOLOv5, please cite it as below.
authors:
- family-names: Jocher
given-names: Glenn
orcid: "https://orcid.org/0000-0001-5950-6979"
title: "YOLOv5 by Ultralytics"
version: 7.0
doi: 10.5281/zenodo.3908559
date-released: 2020-5-29
license: GPL-3.0
url: "https://github.com/ultralytics/yolov5"
GitHub Events
Total
Last Year
Dependencies
- Pillow >=7.1.2
- PyYAML >=5.3.1
- gitpython *
- ipython *
- matplotlib >=3.2.2
- numpy >=1.18.5
- opencv-python >=4.1.1
- pandas >=1.1.4
- psutil *
- requests >=2.23.0
- scipy >=1.4.1
- seaborn >=0.11.0
- tensorboard >=2.4.1
- thop >=0.1.1
- torchvision >=0.8.1
- tqdm >=4.64.0