ZackAkil / video-intelligence-api-visualiser

A simple app that lets you visualise annotations from the Google Cloud Video Intelligence API using your local files.
https://zackakil.github.io/video-intelligence-api-visualiser/
101 stars 67 forks source link

hello, I have a question, so adding it to the issue. #7

Open lllilllilllilili opened 3 years ago

lllilllilllilili commented 3 years ago

I read the source code carefully. thank you.

I fork the repository, configure the web front rendering with http, and then upload the video, the json file will not come out automatically. How can I automate this?

Should I configure these environments automatically?

Thanks!

dylancaponi commented 3 years ago

You have to run this to get the feature output json file: https://github.com/ZackAkil/video-intelligence-api-visualiser/blob/main/run_video_intelligence.py

To run that you need a GCP account, GCP credentials set up on your machine, and all the relevant APIs need to be enabled on your account.

lllilllilllilili commented 3 years ago

I understand.

I'd like to ask you a question. @dylancaponi

If render the html file, does the Python file of the link you uploaded automatically run when I upload the file?

It didn't work like that when I did it.

So I executed the Python file and transferred the result file to the project.

Please let me know if i am doing something wrong.

dylancaponi commented 3 years ago

No, the python does not run automatically, you need to trigger it.

I think you did it correctly.