Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
112 views
in Technique[技术] by (71.8m points)

Google Cloud Video Intelligence

Below it says in Google Cloud documentation :

Annotating a video using Shot Change detection This tutorial walks you through a basic Video API application, using a SHOT_CHANGE_DETECTION request. A SHOT_CHANGE_DETECTION request provides the annotation results:

List of all shots that occur within the video, with the following code :

video_client = videointelligence.VideoIntelligenceServiceClient()
features = [videointelligence.Feature.SHOT_CHANGE_DETECTION]
operation = video_client.annotate_video(
    request={"features": features, "input_uri": path}
)
print("
Processing video for shot change annotations:")

result = operation.result(timeout=120)
print("
Finished processing.")

But it doesn't mention about the detection of the scene's at the time of shot change.

How can I also get Scene Detection with Google Cloud Video Intelligence ?

question from:https://stackoverflow.com/questions/65847492/google-cloud-video-intelligence

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

According to the official documentation "Video Intelligence API automatically recognizes more than 20,000 objects, places, and actions in stored and streaming video. It also distinguishes scene changes and extracts rich metadata at the video, shot, or frame level", so, the answer of your question is yes, the API has scene detection.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...