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

From Medien Wiki
Line 22: Line 22:
[[File:guichu.txt]]
[[File:guichu.txt]]


Copy the txt file to a empty .py file :) (.py file can't be uploaded, I wonder why @_@)
Copy the txt file to a empty .py file :D (.py file can't be uploaded, I wonder why @_@)
#library srt link: https://github.com/cdown/srt
#library srt link: https://github.com/cdown/srt
#pip install -U srt
#pip install -U srt

Revision as of 22:14, 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

Copy the txt file to a empty .py file :D (.py file can't be uploaded, I wonder why @_@)

  1. library srt link: https://github.com/cdown/srt
  2. pip install -U srt
  3. copy paste srt file as in the code (focus on the format at head and tail)
  4. it returns a sequence of subtitle classes object, contains index,time, content, etc.
  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