BlinkReceipt / blinkreceipt-android

MIT License
50 stars 16 forks source link

Need to save image while capturing it from camera. #9

Closed chanchal12 closed 5 years ago

chanchal12 commented 5 years ago

In BlinkReceiptStatic scan Is there any way to save images mobile storage.

pequots34 commented 5 years ago

ScanOptions.newBuilder() .retailer( Retailer.UNKNOWN ) .frameCharacteristics( FrameCharacteristics.newBuilder() .storeFrames( true ) .externalStorage(true ) .build() ) .edgeDetectionConfiguration( new EdgeDetectionConfiguration() ) .logoDetection( true ) .build();

storeFrames and externalStorage in the frame characteristics class allows you to control where frames are stored. Depending on the OS version you will need to handle the file provider and access yourself. https://developer.android.com/training/secure-file-sharing/setup-sharing

chanchal12 commented 5 years ago

Hi Christopher,

I am able to save the image but not fond the path. Can you help me that which pattern are you using to capture the image.

Thanks, Chanchal

On Fri, 15 Mar 2019, 20:49 Christopher Alex Brown, notifications@github.com wrote:

Closed #9 https://github.com/BlinkReceipt/blinkreceipt-android/issues/9.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BlinkReceipt/blinkreceipt-android/issues/9#event-2206777161, or mute the thread https://github.com/notifications/unsubscribe-auth/ANhVl9uGbPbjAx3Hp_bLsuTiVXSaIiKAks5vW7oZgaJpZM4b2kNy .