I'm running a Play Framework 2 web app on Heroku, and I need to create thumbnails when users upload images, before saving them to the Amazon s3 cloud. What is the best way to do this?
Note: I am already saving images to s3. I just need to know how to create the thumbnails first.
Ended up using http://www.blitline.com/. It's a cloud based image processor, and they have a good free plan and reasonable prices after that. They even store my images in s3 for me after they are processed.
Related
The app is an online app. And the size of my app (.apk) is already over 85mb. I want to store the images I am using on "some" server, instead of drawable folder. The problem is I don't know the particular server, and how do I store and retrieve the those images?
The app is written in java language.
It's an app to locate charging station for electric vehicle.
So, please give me some "servers" on which I can store images, and use them as and when reguired.
I have the opentok-archiving sample application set up. While playing the archives, I need thumbnails for the archive. Does OpenTok provide thumbnails?
Currently, I think the only way is to setup Archiving URL callback, and once the archive status is changed to uploaded, I need to get a thumbnail out of the video on my backend.
Are there any other better ways to go about this?
(Myself: tokbox developer)
No, OpenTok does not provide a thumbnail of the archives. However, you can create the thumbnails yourself very easily with ffmpeg.
I want to do some Analytics on the image hosted on the cloud using IBM Watson Visual recognition. Currently I am downloading the image and storing it locally and then give it to the Watson visual Recognition service. I dont want to download the image locally.I am using JAVA
In order to create classifiers with Visual Recognition, you do not need to download the images locally; you only need to call the endpoint with the positive and negative examples. I suggest writing a script to gather the image data, zip it up, and then call the classifier creation endpoint from a server in the cloud.
Currently the functionality you are requesting is not possible today.
I've added it to our backlog, as your request makes complete sense!
I'm pretty new to android so apologies if I'm missing an obvious solution, I'm developing an android app that would be used to record various data including photographs and hopefully the intention would be for this collected data to be uploaded to a desktop application where certain desktop specific jobs could be carried out.
Due to the fact I intend to save photographs within the app in the SQLite database as a bytearray which recorded information would be I think that it would be too data intensive to send to a server, plus I wouldn't want the desktop app to necessarily be on a server, it should be standalone. I'd prefer to use the USB connection and allow a USB upload of the data from the app sqlite db direct to the database on the pc, probably sql server. What would be the best way to approach this? Could the android ADB be used to acheive this?
Any help or suggestions on this would be much appreciated.
Regards
I believe that your sqllite database (as well as photos contained there) will be stored on the SD card of the device. You have to options here, first, when your desktop applications find the folder on the device SD card (should be mounted on the filesystem after connecting the device to your PC), second is to use bluetooth and initialize the transfer from the device to your desktop application.
You could try having them on the same network and having them interact that way. I know applications such as RemoteDroid do this, but I have no experience doing so myself. There is also the fact that there is the data saved on the sd card / by putting your device in Storage mode and you could just point your desktop to the device drive and assume a designated folder your app uses exists.
Adding on to the answers here, you could save your photos as files in your sd card and transfer it to your pc from there.
Here is a dev guide on storing files.
Another way is to transfer over WiFi. Ice cream sandwich seems to have a WiFi Direct api that allows us to perform P2P transfers over WiFi. I have not used it yet but have a look at this
Solution 1
I would probably use rsync between my desktop and android. This way you can export data from your sqlite to a flat file and import it to your local database on your desktop. This way you can also put your schema into a file.
RSync is a very stable protocol to exchange files.
Solution 2
You can also use Amazon S3 for this purpose. The file name can contain the version number for ensuring that you have the latest file.
I am making and app on android that takes pictures using your camera, I then want to save this image to S3, but I am not sure how to do this.
Taking picture on Android: here, here
Uploading file to Amazon S3: here
Edited: seems that the easiest way to upload to Amazon S3 is JetS3t. It needs a little tweak to work on Android.
There is now an Amazon-supported Android SDK: http://aws.amazon.com/sdkforandroid/ . It's only been out since the end of 2010, but it seems to work well - it allowed me to upload a photo to S3 with 4 lines of code.