Finding out watch duration of videos in Facebook feed - facebook-graph-api

Is there a way to extract the video IDs and watching duration of the watched videos on Facebook for one specific user via the Graph API?

With normal video objects, there's no way I know of. For the Open Graph action videos.watches, this might be possible:
See
https://developers.facebook.com/docs/reference/opengraph/action-type/video.watches/
https://developers.facebook.com/docs/facebook-login/permissions/v2.1#reference-user_actions_video

Related

GCP Video Intelligence API Object Tracking

I've used the Video Intelligence API to do object tracking on video.
In the document [1], it recognizes more than 20,000 objects, places, and actions in stored and streaming video.
I have a questions. Is there any document that shows what kind of objects can be recognized or can't be recognized?
It's my first question. Thank you.
[1] https://cloud.google.com/video-intelligence
In this GCP documentation, it enumerates the categories in which Cloud Video Intelligence API can detect, analyze, track, transcribe and recognize: https://cloud.google.com/video-intelligence/docs/how-to
Among the things that are listed on the GCP documentation that Cloud Video Intelligence API can detect, track and recognize are: faces, people, shot changes, explicit content, objects, logos and text. Cloud Video Intelligence API are already pre-trained, if in case there are objects that Cloud Video Intelligence API can't recognize, you can train your own custom models using AutoML Video Intelligence. To get started with AutoML Video Intelligence, you can refer to this GCP documentation: https://cloud.google.com/video-intelligence/automl/docs/beginners-guide
As to the limitation of object that can be recognized in Cloud Video Intelligence API, there is no document that states which object are not recognizable. The only limits that are in the Cloud Video Intelligence API documentation are in terms of video size, per request and length. GCP Documentation: https://cloud.google.com/video-intelligence/quotas

How are Speech-to-Text and Video Intelligence SPEECH_TRANSCRIPTION related?

My goal is to process several videos using a speech-to-text model.
Google confusingly has two products that seem to do the same thing.
What are the major differences between these offering?
Google Cloud Speech-to-Text: https://cloud.google.com/speech-to-text/docs/basics
Speech-to-Text has an "enhanced video" model for interpreting the audio.
Google Video Intelligence: https://cloud.google.com/video-intelligence/docs/feature-speech-transcription
VI has the option to request a SPEECH_TRANSCRIPTION feature
The main difference between the two are the input used. Speech to Text API only accepts audio inputs while Video Intelligence accepts video inputs.
As mentioned in your question "Speech to Text has an enhance video model", it means that it has a model that is designed to transcribe audio that originated from video files. Meaning the original file was in video, then converted to audio. As seen in this tutorial, the video was converted to audio prior to transcribing it.
I suggest to use Video Intelligence API if you would like to directly transcribe the audio content into text. You can follow this tutorial on how to transcribe text using Video Intelligence API.

Is it necessary to have data in the form of images to use Google Vision API for object identification?

I'm planning to use Google Vision Api to identify and count objects from a video. I can get the data in terms of a good quality video format only. So, I want to know whether I can use it or will have to train the model with images only?

How can I track moving items in real-time in Power BI?

I saw this Warehouse Dashboard on Youtube (Login as Vendor without any username or password)
https://pbiewarehousedemo.azurewebsites.net/warehouse-summary
and I was wondering how they created this Warehouse Map with the moving items. It seems to be like a real-time position tracker. So I thought I could use this to track my products in a production line to create a digital shadow. Unfortunately they just used it as an example for embedded Power BI in their Youtube video and don't know how this was created.
Does anyone know how to creat such a real-time tracking dashboard? I didn't find anything on the internet.
You would help me a lot if someone had an idea how to do this.
That report is a bit of a cheat, the visual is not an actual visual it is a video.
Real time tracking can sort of be done.
It would be some thing like
Vehicle transmits a GPS to database/api/Azure Function
Data get sent to a database
A function/flow/data factory that refreshes the dataset with the
latest data
That works well for tracking objects around a wide region for a specific location around for example a factory, it would have to be a created custom visual, or maybe a R/Python Visual

How to Store videos online and stream them

How to store a large amount of videos online and enable users to stream them, so how can i use cloud services to do so.
The website admin will upload many videos per month and users will be able to stream and watch them, so i'm expecting a quite good/heavy traffic, you can say it will be like Vimeo or YouTube but smaller scale of course.
So the requirement:
Store as many video file as i want.
Users can stream without bandwidth/traffic limitation (buying service is okay)
Full control of the uploaded storage (edit & delete).
Web statistics (streaming, visitors, etc.)
If I were you, I would do some research into CloudFront media streaming. You might also want to look into Amazon Elastic Transcoder for conversion of uploaded videos into the proper formats.