Commit Graph

156 Commits

Author SHA1 Message Date
Joao Fidelis 94c8968b26 chore(gms): change default gms to 12.0.0 2018-03-29 21:22:49 -03:00
Joao Fidelis 501ffe8336 chore(cameraview): update camera view 2018-03-29 21:07:47 -03:00
Wouter van den Broek d0e0d26138 Emulator crash fix #1234
On the emulator it crashed because the image byte array was incorrect and no cache directory was defined so it could not be written
2018-03-29 13:49:03 +02:00
Simon Ermler 6939734ba3 add bounds to barcodeReadEvent 2018-03-26 23:15:59 +02:00
Aldo Culquicondor 01e763b143 fix(textrecognition): height of text block 2018-03-23 16:20:16 -05:00
Krystian Pach 113a5e8158 compile should be double quete 2018-03-23 14:13:29 +01:00
Sibelius Seraphini ebe27e0b5b
Merge pull request #1388 from alculquicondor/ocr
Integrating Google Vision's text recognition in Android
2018-03-23 09:26:56 -03:00
Sibelius Seraphini e0cb6285e6
Merge pull request #1380 from anandprabhu/master
Check for project-wide gradle configuration properties
2018-03-23 09:26:20 -03:00
Aldo Culquicondor fcaa945286 feat(android): integrating Google Vision's text recognition 2018-03-22 11:32:27 -05:00
Alessandro Mizzoni ebed27216f cherry-pick 73b9bec624 2018-03-22 14:36:49 +01:00
Malte Peters 1b06297c3a fix master after accidental pull-request - sorry 2018-03-22 14:33:54 +01:00
Alessandro Mizzoni 73b9bec624 Compile new cameraview commit for fix upsidedown front camera portrait recorded video 2018-03-22 14:14:56 +01:00
Malte Peters 852169ea86
Merge branch 'update-to-current-master' into master 2018-03-22 12:43:11 +01:00
Malte Peters 519fe42f07 feat(Android): event will also be fired if no object was found 2018-03-21 19:00:35 +01:00
Anand Prabhu 389c731bec Check for project-wide gradle configuration properties 2018-03-21 22:00:21 +04:00
Malte Peters 5dfa6d2d43 feat(Android): add TextBlock-Detection via new prop objectsToDetect 2018-03-21 16:28:43 +01:00
Will Wheeler 17eebff45c Fix stream error and date format error
Fixes #1220
2018-03-15 15:40:30 -07:00
Greg Alexander 2dd3e8424c fixing android build error for missing return value 2018-03-15 09:59:29 -05:00
Lauri Matti Saarni 009da5a250 Reformat exposure time in exif data.
Exposure time is returned from camera as a string like 1/11.
ExifInterface on expects exposure time to be formatted as a string but
the string should contain decimal formatted number instead of fraction
format.
2018-03-12 15:45:17 +07:00
João Guilherme Fidelis 0e29f466d7
Merge pull request #993 from RZulfikri/master
Video Orientation By Device Orientation
2018-03-10 12:50:11 -03:00
Lauri Matti Saarni c6706623e0 Add the missing exif data for Android
Some of the exif data has been previously been lost. Now they are
included as the sub directory is looped and names of exif data are
formated to match with ExifInterface class requirements.
2018-03-06 14:05:29 +07:00
Joao Fidelis 8d9c06ad90 fix(android-camera): revert to old camera api 2018-03-02 14:26:55 -03:00
Michaël Villeneuve cc3fb30ab2 Add more infos on `width` property doc, eventually fixed indent 2018-02-26 09:31:27 +01:00
Michaël Villeneuve 983337d9f8 Add ability to control size by only specifying width + made orientation optionnal. see #768 2018-02-23 16:16:49 +01:00
Michaël Villeneuve e064bab7db Add width/height options 2018-02-23 16:16:35 +01:00
Malte Peters 47780e5485 feat: added property expectedFaceOrientation and handle it together with image orientation depending on used camera 2018-02-17 13:03:09 +01:00
Malte Peters 7bea109e47 chore: restored original CameraModule.java 2018-02-17 11:17:51 +01:00
Malte Peters 17546355de chore: don't save demo image to disk 2018-02-16 17:28:41 +01:00
João Guilherme Fidelis 5e774f42b6
Merge pull request #1235 from TitanKing/patch-2
Incorrect placement of plugin.
2018-02-14 14:10:14 -02:00
Jason Schoeman 224e025757
Update build.gradle
Updated dependencies to use: `compile "com.android.support:exifinterface:26.0.2"`
2018-02-14 17:05:50 +02:00
Joao Fidelis 0b6f0abda0 feat(mirror): add option to give "mirrorImage" flag to takePicture. 2018-02-14 10:48:21 -02:00
Malte Peters 04b8e27681 feat(android): Face Detection Improvements 2018-02-13 23:23:56 +01:00
Malte Peters 58f8e0fef9 feat(android): added opencv framework compile reference and minor improvements 2018-02-13 19:14:38 +01:00
Malte Peters 679a5d29bb feat(android): added and refactored lost files 2018-02-13 19:00:56 +01:00
Malte Peters 587f0ea690 chore: added lbpcascade-file 2018-02-13 17:45:33 +01:00
Malte Peters 32c5385bc3 feat(android): add code for face detection 2018-02-13 17:31:34 +01:00
Jason Schoeman 049b23440e
Incorrect placement of plugin.
I believe this is incorrectly used here. This will cause various issues, especially using it with Android Studio. This is also the reason you have to specify the QA compile error. The plugin `com.android.support:exifinterface:+` should at the very least be used but then not even, rather have it as part of the installation process to include the dependency build.gradle.
2018-02-13 12:06:12 +02:00
Malte Peters 917692c16e feat: added package and class structures for opencv face detection 2018-02-09 18:55:18 +01:00
Joao Fidelis e21d2f4c87 Use most recent cameraview commit 2018-02-03 10:37:35 -02:00
Joao Fidelis 1e2dd4e61f Change new package location to avoid a Android studio bug 2018-02-03 09:36:03 -02:00
Joao Fidelis 377b184e04 Migrate Android from RCTCameraPackage to RNCameraPackage 2018-02-02 17:27:05 -02:00
Joao Fidelis ad1b140790 Organize imports and add missing method from Expo implementation (android) 2018-02-01 17:09:19 -02:00
Michael Schoendorfer b64f37af50 Fixes that Camera is started multiple times
This is copied from: 5164fdc50b/android/expoview/src/main/java/abi25_0_0/host/exp/exponent/modules/api/components/camera/ExpoCameraView.java (L294)
RNCameraView does not properly handle when the App is closed and opened
again. Previously the CameraView was started multiple times which leads
to a black screen on some devices.
2018-02-01 18:13:33 +01:00
Joao Fidelis 91a560ac1c Improve android performance with Expo picture resolve implementation.
Get rid of MutableImage.
Return base64 only if asked via options map.
2018-01-30 11:14:17 -02:00
seblau 612b3bfe9a correctly assign barCode to BarCodeReadEvent 2018-01-26 15:41:03 +01:00
Joao Fidelis a09436e9ab Implement get view from reactTag on Android and iOS.
Do not save app context on CameraModule
2018-01-24 19:32:24 -02:00
Stanislav Shakirov 0b5ae8f9e3
Return to `compile` gradle api. revert
revert 9c76310c93
fixed https://github.com/react-native-community/react-native-camera/issues/1145
Most of react-native projects is still using old gradle api. There is not issue to stay with old api.
2018-01-24 14:59:24 +03:00
Nicolas Morin cebc0601d1 Fix cropToPreview on Android 2018-01-24 10:01:16 +01:00
Nicolas Morin 286071c035 Fix startPreview and stopPreview on Android 2018-01-23 22:17:18 +01:00
Joao Fidelis f53aab5729 Create local cache directory and save image there when photo is taken. 2018-01-23 01:48:03 -02:00