GMU:Procedural Cut/Assignment Object Recognition: Difference between revisions

From Medien Wiki
No edit summary
Line 20: Line 20:


=== Auto_detecting_words_in_srt ===
=== Auto_detecting_words_in_srt ===
[[File:guichu.py]]
[[File:guichu.txt]]


#library srt link: https://github.com/cdown/srt
#library srt link: https://github.com/cdown/srt

Revision as of 22:11, 28 November 2019

This Assignment is a bit different. There is no precise instruction. Goal is to edit video according to image analysis, or more specifically: Object recognition. For this assignment everyone needs to communicate to coordinate the effort and share ideas how to reach that goal. Edit this page here.


Example

Object detection using OpenCV and YOLO.

Input

Output

File:Log dog.txt


Here is the good olde color tracking in the new fancy clothes of "heuristics" https://towardsdatascience.com/real-time-object-detection-without-machine-learning-5139b399ee7d


Auto_detecting_words_in_srt

File:Guichu.txt

  1. library srt link: https://github.com/cdown/srt
  2. pip install -U srt
  3. copy paste srt file as following(focus on the format at head and tail)
  4. it returns a sequence of subtitle classes object, contains index,time,contant usw.
  5. using for loop searching desired word in every object.content.
  6. it returns the time interval at the start and the end
  7. use srt.timedelta_to_srt_timestamp convert the time to normal one