I want to integrate a video and text chat for web (python) and mobile (xamarin). The requirement is to make customers able to communicate across platforms i.e mobile to web and vice versa.
Mobile application will be developed using Xamarin technology and the website will be in Python.
Is video supported by both platforms?
Yes it does, check out the vidyo.io Xamarin sample on github - https://github.com/Vidyo/VidyoConnector-xamarin
Note that vidyo.io SDK runs on the client end. That means it will either run on your mobile device (using native libraries or in your case using Xamarin), or in case of web sites it will use javascript. You do not need to integrate vidyo.io SDK on the server side.
On your server, what you will need, is to generate "tokens" whenever your client device or website wants to connect to a video conference.
Since you are using python you can take a look at their sample token generator at https://static.vidyo.io/4.1.16.8/utils/generateToken.py
You can learn more about tokens on their website -
https://developer.vidyo.io/documentation/4-1-16-8/getting-started#Tokens
Related
I am trying to create a python program that takes input of what homework assignments I have and stores all of that information so that I can send a notification to my phone when assignments are coming up. I want to be able to give input from my phone throughout the day and cant seem to find a way to interact with my script on my computer from my phone. Any ideas? Ps: if you know a way that I can send notifications to my phone that would also be cool.
It looks like you should create a classic client/server architecture. This is quite a big task. Your program running on your Windows computer acts as a server waiting for client (mobile application) requests. I propose to create a widely used REST API service using e.g. the Flask framework (server side) and use the Retrofit framework for the Android application.
Remember that when using the application on the Internet, you will have to ensure the availability of the server.
To send notifications from the server to the app, use Firebase Cloud Messaging
I am currently developing an Android and iOS application that uses Machine Learning.
This app sends data from the mobile application to the server(most probably Firebase).
Meanwhile, the machine learning model would be pre-trained using Python.
In order for this application to work, the data sent from the mobile app should be sent to Python from the server. After the data goes into the pre-trained model, a specific output would be produced and the output would be sent back to the mobile app.
However, there would be a huge memory usage as Python should be infinitely run to retrieve the updated data from Firebase.
Is it possible to send data from Firebase to Python and mobile applications once data has been updated in the Firebase? If it is not possible in Firebase, are there any other servers that can implement this function?
Thank you.
Is it possible to send data from Firebase to Python and mobile applications once data has been updated in the Firebase?
Yes it is possible you have to set up Firebase Admin SDK, check documentation here.
I'm developing a product where it shows information about stuff, the product involves a raspberry pi which automatically runs a python program on boot. When it's the users first time using this product they will have to set it up (log into their account etc.). I'd like it for the IOS app to recognize that the product is nearby and allow the user to enter the necessary data (WiFi information, login credentials, etc.) for that product through the app on their phone.
Basically, what I'm trying to ask is that is there any way where I can exchange data between my IOS app and my python program, running on my raspberry pi? I can't do anything through databases since there would be no way of knowing which device needs to connect to what, so I'm guessing something like Bluetooth, just to send the first bits of data (like Wifi information) to get the two linked?
MORE INFO:
An example would be setting up a device like Alexa, how does Alexa connect to your devices to obtain Wifi information so that it can do everything else by itself?
Thanks, Nathan.
If you want to prototype a solution quickly, try Blynk. I've managed to do this type of link using NodeJS and a Raspberry Pi with Blynk previously but their web page suggests you could also use Python or MicroPython. The downside is that, beyond doing basic UI elements, you need to pay for it.
Another approach is to set up a WiFi access point with a web-based system that supports configuration. An example of a device that does this is the open source energy monitor. It might be the case that you can look at how they set up their AP and web server as it is all open source.
I am trying to do some automations using Google Assistant. Is it possible to integrate the mobile google assistant app with python? For example if I say open edge in my PC in my mobile and I am able to fetch the same from a python app running on my PC, I can create custom actions based on that. Can anyone help me with how can that be possible?
At the highest level, Google Assistant is able to be programmed using "Actions on Google". Actions on Google takes your audio input and drives a service called "Dialog Flow". Dialog Flow parses your natural language looking for an "intent" (what you are asking for). When an intent is matched, a "Webhook" can be called to process the request.
If you have an application running on your Windows PC that is listening for an incoming REST request and can process the payload content, then the Webhook specified in Dialog Flow can be used to invoke your Windows application (REST app) that can perform the work.
Wiring all this up does take some skills. Some good reading to start with would be:
https://assistant.google.com/
https://www.youtube.com/channel/UC1EXoqvR9VrmWnM9S47SfVA
https://cloud.google.com/dialogflow-enterprise/docs/
I have developed a face recognition software.It detects and identify human faces infront of the connected web camera.Now I need to deploy it in a website.so that,Anyone with a computer should be able to access this service through this website and should be able to perform face detection and identification using the camera in his premises.
Is it possible to integrate python application with website?
Is Django framework is suitable for my work?
Can anybody recommed any tutorials in this direction?
This has got absolutely nothing to do with Django. Django is running in your server, whereas you need to capture image at your client. Therefore it has to do about your front-end and not your back-end.
Traditionally this has been a feature not at all possible. A web browser could not access the client's peripherals and end of story. Flash, activex etc have been workarounds for this.
HTML5 now allows it. Read more on MDN about MediaDevices.getUserMedia().
Unfortunately this is still fresh at the time of writing and is only supported by some browser versions: read more on caniuse.com.
You could use some js library for feature detection such as modernizr.