AWS Textract not working with Invoices in PDFs. Any advice? - amazon-web-services

There is a "Try" feature in AWS Textract page where we can upload Invoices in PDF, JPEG etc. But when I uploaded the PDF it wasn't working. Table's were not being shown, Form (Key-Pair values) were not being shown....nothing. But when I uploaded Invoice in JPEG it was working good. I didn't understand why.
I searched all over the internet but I couldn't find any solution. Some people even never heard of AWS Textract, even though I found its better than Google Document AI.
Please help!

Related

AWS Quicksight - Enabling User Comments

How would functionality for user comments on a dashboard be built? For example, if an issue is flagged I would like to let the user comment if they have further details/explanation of the issue. I would also like to save the comments and pull them historically.
Have seen this in a QS dash before, but I can't find any documentation on how you would go about building the framework for this.
QuickSight doesn't appear to support this functionality within QuickSight. Likely what you saw was QuickSight dashboard embedded into a page that happened to have a separate, unrelated user comment box. If you do find something where someone is commenting directly on a QuickSight dashboard, I would be thrilled to see it!!

AWS - Download Current Site With User Content

Is there a way to download the current site content, namely, the uploaded user images, from a web application on AWS? Everything I have found only gives access to previous code deployments, which do not include the user uploaded files.
I have tried the instructions here but it only seems to give access to the code as it was at the time of deployment.
Thank you for any help.
User uploaded images are usually stored in Amazon's S3 service, so go to your AWS dashboard and navigate to the S3 section, and you should find the files in a bucket there
Are you trying to download your own website ? Then you need to get not just code or user images; but also database containing data. You need to check the code where images are saved.. Are they on local EBS or EFS or S3 and correspondingly copy from there.
If you are trying to download some-one else website. Then surely you will not have access to database or code or other user images; but still you can download full website as seen to the public using many tools like WinHTTrack.

Amazon Products Api

I was looking around web and amazon affilate apis, but can not find a way without scrapping amazon product pages to extract some of the data to display on my site.
I have input box where users can copy/past amazon links and I want to create preview to the product on next page using the image, price and other content and link back to the page. I saw this Amazon products API - Looking for basic overview and information, I have try to use id that I think was correct one to get data for but I got wrong result.
Example
https://www.amazon.com/Hello-Kitty-Petite-House-Complete/dp/B00I90NTCE/ref=sr_1_2
I assume this is B00I90NTCE the id.
Can someone point me to correct direction?
Well you should read the documentation for the amazon product api. Here is a link to the documentation: http://docs.aws.amazon.com/AWSECommerceService/latest/DG/Welcome.html. You can also try out the api using the scratch pad: http://webservices.amazon.com/scratchpad/index.html?rw_useCurrentProtocol=1. See also this link: http://docs.aws.amazon.com/AWSECommerceService/latest/GSG/SubmittingYourFirstRequest.html
The amazon api is RESTful which means it is stateless and it works over http. It is easy to use. you have to create a url with the required parameters. if you call this url from a programming language or copy/paste it in a browser, it will return xml. The xml will contain the product information such as product image, price, product description, amazon link etc. You can parse the xml using a suitable library for your programming language

Upload a Cover (PHP)

Anybody know how to upload a profile cover? Not a Album cover but a profile cover for the new timeline? Any help is much appreciated.
Maybe Facebook will roll out a specific API for that in the future, but so far the only way is to upload the photo via the photo API and then ask the user to choose it as his cover...
To upload a photo use a HTTP POST to https://graph.facebook.com/ALBUM_ID/photos (as seen on http://developers.facebook.com/docs/reference/api/)
There's no API for this just yet.

Where can I find twitter messages archive or search old tweets?

Previously Google launched an application that can search twitter message OVER Time like in news timeline. But it seems it now can only provide real time (current) message index, not the old and all tweets in history. I want to do research on tweets, but do not know where to download or access to such data based on timeline or geography or demographic or topic list.
Thank you in advance.
The old tweets are not publicly accessible - even to the people who wrote them.
Perhaps you should contact Twitter. The US Library of Congress apparently is archiving this data too.
You might be able to get access from either of these if it's a legitimate (university based) research activity.
Addition: There have been a few corpora made from Twitter, but they were removed from distribution at Twitter's request. The streaming API makes it pretty easy to build your own corpus in a few hours/days of a pretty decent size, but I don't know of any that are available for distribution. Depending on your application, the International Conference on Social Media and Weblogs has (terabytes of) data available for research, but I don't know if anything from twitter is included.