Microsoft Cognitive Services Face API - Get uploaded images - face-detection

I played around with the MS Face API and wonder if there is a possibility to get the uploaded images back? For all uploaded images I get a faceId which can be added to persons and persons to groups and so on. But I have not found a way how to display e.g. the persons which are member in a group.
Or is the concept to save all images on the client and add the received id to the image on the client? Than is the question what happens with the images which are uploaded for face detection?
regards,
Jochen

The API doesn't allow the images to be retrieved back. You're right about the general use case, the IDs help you reference the correct image(s) in the application. Often times you'll want to upload a smaller image to the API than what you want to display to the user.
You can always submit feature requests to the team's public backlog over at: https://cognitive.uservoice.com/

Related

How do I upload/import a Dart database to Firebase? Information based app content

I have built an information based app with server side content that is displayed for the user to view but not edit or generate on their own. The information is examples of Species and the User is able to favourite a Species. Currently I have the Species hardcoded in a Dart db and is passed throughout the app when navigating or favouriting to that runtime instance.
I have set up users through firebase. I assume I will need to convert my Species db to JSON and store as a collection on Firebase in order for the user to favourite and instance of a species. My question is how do I upload or import my Dart database into Firebase? I know there's the JSON conversion but I assume we don't want to run that everytime the app loads.
Any help or guidance as I haven't found anything just yet, it may be my ignorance of nomenclature! I don't believe it is a real time database, but please correct me. Thanks.

Firebase Realtime array populate div

Okay so I’m need guidance on where to start.
What I want to do is upon clicking a button in my web app which will be labelled “search” the web app will connect to my realism database and search the data base for the “search criteria” and the once found all matching cases it will create div blocks with the information inside it, in a list view and assign the ID of the div to the UID it gets back from the database.
database:
Users
--> Country
---->State
----->City
------>Post/ZipCode
------->UID
--------> Users informantion
Welcome to StackOverflow!
A great place to get started is the Firebase Realtime Database doocumentation or searching for Firecasts on YouTube (linked below).
As requested, here are some questions to ask yourself to get started and help scope out and define your new Firebase project.
What language are you going to use?
Are you planning on using any frameworks/libraries? e.g. For Javascript, these would include things like jQuery, Polymer, and React
What information are you storing in your database? e.g. user profiles, private user data/settings, public indexes, username lists, etc.
How is your database structured?
What data is being searched? The entire database? Values in a certain location?
What data needs to be displayed in your view?
Is the data accessible for just the current user or is it a public database that anyone can use?
What search criteria will be used? Is it just one filter at a time or many?
The answers to these questions aren't set in stone, but are to help you start thinking about the future of your project. They can be changed at any time as this isn't SQL where everything has to have its own schema.
If you intend on using "advanced searches" where you'll filter by multiple parameters at the same time, consider using Cloud Firestore instead.
I recommend looking at some Firecasts to help guide you through these questions. Here are some links to them:
Firebase YouTube Channel
Video: Getting Started with the Firebase Realtime Database on the Web
Playlist: Firebase on the Web

Storing data from Facebook's Graph API

For the past two days, I finally was able to understand how to extract data from Facebook's Graph API.
How to use Graph API to get user's total friend count [JavaScript]
Awesome, right? Now, for the next part.
I want to be able to store this data so that it can be publicly displayed on a user's profile within the application I am developing.
Here is the flow that I am thinking:
User goes to create an account on my application
User is asked via OAuth to pull in their Facebook data such as their profile picture, friend count, etc.
Their data is stored and synced to be always up-to-date [this is what I am trying to figure out]
The data stored is publicly displayed on their profile (such as their friend count)
I never went back to this - but from my understanding now versus what I knew back when I posted this; all one would need to do is store the data in a database so it can be spit back out- and it would just be associated to the user.

Developing an app that sends a picture to a web page using couchbase

ok guys, im pretty confused with a class project i've been assigned. I need to make an app that allows the user to take a picture, and then send it to a database. I also need to create a webpage where all the pictures taken with the app will be shown. so, the user takes the picture with the app, and then it sends it to the page, where its displayed. I guess is something like a pseudo-instagram.
the part that really confuses me is the database/server part of the app. i think the app will send the pictures to the database, from where the website will retrieve the latest ones (or some other sorted way). after reading a little about databases i found couchbase and i think thats the way to go.
The part i dont really understand about couchbase is where is the data stored. does couchbase just gives me the database and i have to store all the information (photos) somewhere like a computer that acts as a server or in the cloud; or its stored in some kind of server provided by couchbase?
also, is what i described the way to go in this app? the basic idea is to send information from the app to a database/server and then retrieve that data to the webpage. any advice is truly appreciated. Thank you in advance.
couchbase provides key value store. Data is stored within the couchbase. In your case you need to store the images as value. CouchBase is capable of storing binary data. So, you probably want to convert your images in the binary data and store it.
CouchBase has great API, which you can query to retrive your images.
Not sure if this helps you. good luck with your project.

Amazon MWS API - How do i get detailpageurl, product reviews, totalresult count

I have integrated the Amazon MWS api.For searching matching products from amazon i have used ListMatchingProducts as operation. I got the response as XML but in XML Some of the information isn't provided by the Amazon MWS API is there any other way to get it? The following information is not able to get from api response xml.
How do we get more pages of results beyond the first page? Right now we only get the first.
We cannot find big images for products, only getting small images
We cannot find the detailpageurl for products.
Where do we get the description? The only thing we are able to pull right now is the product "Features" but no description.
How do you search by Amazon nodes? All we see is search by keywords, but we use nodes all the time in the old Amazon PA-API.
For larger images, you can substitute out the numbers following "_SL" in the image name for the desired width. ie: SL160.jpg becomes SL400.jpg for a 400px width image.
A quick version of the detail page URL can be constructed by appending the ASIN to http://www.amazon.com/dp/
I don't think the other functionality that you desired is available through the MWS Products API.

Resources