Android: As a user, I would like to take a picture of my handwritten notes or printed documents, scan them and upload it directly to my ownCloud

Created on 19 Feb 2018  路  21Comments  路  Source: owncloud/android

The current ownCloud Android app has different options to upload files to an ownCloud server, such as selecting them from the internal storage, selecting content from other apps or uploading photos directly from the camera.

It would be great to include a new option which enables the user to take a new picture with the camera and select the edges of handwritten notes or printed documents. After that, the image will be processed, adjusted to a better view and uploaded to a folder on the server.

Feature request upload

All 21 comments

@davigonz I would like to work on this.

Great @sd1998 , glad to hear you want to contribute with this. Just for you to know, there's a bounty for implementing this feature.

@davigonz Where can I get the information about the bounty for this feature?

@michaelstingl Thanks.

@davigonz For this feature should I use a 3rd party dependency like this or should I try to implement the feature from scratch using opencv etc.?

For this feature should I use a 3rd party dependency like this or should I try to implement the feature from scratch using opencv etc.?

@sd1998 Sure, you can use 3rd party dependencies as long as they are free license and we include the required attributions.

Hi guys , when you talk about "the image will be processed", do you mean using OCR to get plain text or adjust the marked edges to get a rect and aligned document ?

Hi guys , when you talk about "the image will be processed", do you mean using OCR to get plain text or adjust the marked edges to get a rect and aligned document ?

@Unsigno Actually is not OCR itself, is just about taking a picture and adding some kind of filters so that the picture looks like a scanned document.

Oki , i am looking for a PR and have some questions.

1 - Could be added OpenCV as dependency to do this ?
2 - If i send a PR, it has to contain all the translations of the texts used ?

@Unsigno I am already working on this. Could you work on any other issue? Thanks.

@sd1998 You could mark it on bountysource as started and give an aproximated time to prevent bounty hunters :p . give some news if you leave it please .

If some one can asnwer 2 i still curious .

1 - Could be added OpenCV as dependency to do this ?
2 - If i send a PR, it has to contain all the translations of the texts used ?

@Unsigno

  1. Yes, OpenCV could be used to detect the document edges for example.
  2. Not necessarily, including texts in english is enough since they will be automatically translated by transifex. If you have a look at the master commits history, you will see that many of them are automatically added by owncloud-bot and include the translations I mention.

@davigonz I am using camera2 API it requires the API level 21 and currently, the minimum API level has been set to 14. Should I change it? Or try an alternate approach?

I am using camera2 API it requires the API level 21 and currently, the minimum API level has been set to 14. Should I change it? Or try an alternate approach?

@sd1998

Were not you using https://github.com/jhansireddy/AndroidScannerDemo to implement this feature? What is camera2 API used for?

If there's no way to include this feature in APIs lower than 21, I would include a condition to disable the feature for versions lower than 21 instead of updating the minimum API level.

Keep in mind we still have users with Android versions previous to Lollipop (API 21).

@davigonz I did not use https://github.com/jhansireddy/AndroidScannerDemo but have implemented the feature in a better way. And it will also work for minSDk = 14 thus supporting Android version previous to Lollipop.

Hi all, this issue is still open ?

Hi all, this issue is still open ?

Yes @Unsigno , but it was delayed because is not trivial at all, have a look at this overview.

hey, so will this issue be on google summer of code this year?
as this issue has a bounty as well.
I can do it as a GSoC project or I can fix it a now,

@iamzubin previous attempt: https://github.com/owncloud/android/pull/2143

No plans for GSoC yet, but yes. there's an open bounty:
https://www.bountysource.com/issues/55217024

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lefherz picture lefherz  路  6Comments

davivel picture davivel  路  4Comments

davigonz picture davigonz  路  5Comments

sd1998 picture sd1998  路  5Comments

Emil-G picture Emil-G  路  7Comments