Marc Rousavy
92c27b06ae
Update DEVICES.mdx
2023-10-06 11:53:13 +02:00
Marc Rousavy
36e9e00930
docs: Add **Flash** documentation
2023-10-05 16:40:15 +02:00
Marc Rousavy
658695dca5
docs: Use smaller title on mobile ( #1928 )
2023-10-05 14:50:36 +02:00
Nate Krieger
b14958b1b0
docs: Fix closing xml tag for CodeScanner docs ( #1918 )
...
* add full list of supported codes to example and add closing xml tag
* Revert exhaustive code list in example
---------
Co-authored-by: Nate Krieger <nate.krieger@traxero.co>
2023-10-05 14:48:30 +02:00
Marc Rousavy
ffd64feee8
feat: Add enableCodeScanner
to Expo Config Plugin
2023-10-05 11:06:38 +02:00
Marc Rousavy
59699929f4
fix: Use minSdkVersion
of 26 again
2023-10-05 10:56:30 +02:00
Marc Rousavy
93019c37e6
docs: Update example
2023-10-04 13:00:23 +02:00
Marc Rousavy
889b37d063
docs: Update links
2023-10-04 12:57:30 +02:00
Marc Rousavy
5efaefee98
docs: Update QR Code references
2023-10-04 12:56:47 +02:00
Marc Rousavy
6640b72a00
feat: Code Scanner API ( #1912 )
...
* feat: CodeScanner JS API
* feat: iOS
* Use guard
* Format
* feat: Android base
* fix: Attach Surfaces
* Use isBusy var
* fix: Use separate Queue
* feat: Finish iOS types
* feat: Implement all other code types on Android
* fix: Call JS event
* fix: Pass codetypes on Android
* fix: iOS use Preview coordinate system
* docs: Add comments
* chore: Format code
* Update CameraView+AVCaptureSession.swift
* docs: Add Code Scanner docs
* docs: Update
* feat: Use lazily downloaded model on Android
* Revert changes in CameraPage
* Format
* fix: Fix empty QR codes
* Update README.md
2023-10-04 12:53:52 +02:00
Marc Rousavy
e9b39924d7
docs: Add "Pixel Formats" documentation page
2023-10-03 14:35:26 +02:00
Marc Rousavy
324e269173
fix: Set minSdkVersion
to 23 ( #1911 )
...
* fix: Set `minSdkVersion` to 21
* sorry I meant 23
2023-10-03 13:52:42 +02:00
Mateusz Mędrek
bdd81cf2fb
chore: Improve native Frame Processor Plugin documentation ( #1877 )
2023-10-03 11:36:55 +02:00
Marc Rousavy
b24b1c808f
docs: Fix links
2023-10-03 11:31:37 +02:00
Shiran Gabriel
12c2987b85
doc: Code fixes on saving & getting the photo in TAKING_PHOTOS.mdx ( #1896 )
...
code fixes on saving & getting the photo in TAKING_PHOTOS.mdx
- The variable path has been renamed to file, as camera.current.takePhoto() always returns a file
- CameraRoll.save() method has been updated to use file.path for saving the captured photo.
- fetch() method has been updated to use file.path on getting captured photo as blob
2023-10-03 11:20:41 +02:00
Marc Rousavy
554b7416b1
docs: Update minSdkVersion to 26
2023-10-03 11:04:36 +02:00
Marc Rousavy
39b9c908f9
docs: Fix b
2023-09-30 15:34:31 +02:00
Lihang Xu
94c05f9113
docs: Add Dynamsoft Document Normalizer to the frame processor plugins lists ( #1331 )
...
Update FRAME_PROCESSOR_PLUGIN_LIST.mdx
Add Dynamsoft Document Normalizer.
Co-authored-by: Marc Rousavy <me@mrousavy.com>
2023-09-30 15:33:08 +02:00
Yasin Torun
3a080901a8
docs: Add vision-camera-base64 plugin to list ( #1411 )
...
* docs: Add vision-camera-base64 plugin to list
* chore: Update text
* Update FRAME_PROCESSOR_PLUGIN_LIST.mdx
---------
Co-authored-by: Marc Rousavy <me@mrousavy.com>
Co-authored-by: Marc Rousavy <marcrousavy@hotmail.com>
2023-09-30 15:32:03 +02:00
Marc Rousavy
ce07750dea
docs: Fix runAsync
example
2023-09-30 12:12:43 +02:00
Marc Rousavy
5a98716f31
docs: Update link colors
2023-09-29 19:28:38 +02:00
Marc Rousavy
fd6d52f1de
docs: Fix search by disabling contextual search
2023-09-29 19:18:00 +02:00
Marc Rousavy
9bad0bb99e
Update RECORDING_VIDEOS.mdx
2023-09-29 16:53:24 +02:00
Marc Rousavy
902dc634a4
feat: Add customizable Video Bit Rate (videoBitRate
) ( #1882 )
...
* feat: Add `videoBitRate` option to `RecordVideoOptions`
* feat: Implement `videoBitRate` on iOS
* feat: Implement `videoBitRate` on Android
* chore: Format
* docs: Separate recording and photo docs
* docs: Fix links
* docs: Add docs about bitrate and quality
* docs: Add blob
* fix: Don't use inline style for CI
* fix: Correctly log default bitRate
* fix: Fix typo
* fix: Calculate default bit-rate on Android depending on resolution
* Update RecordingSession.kt
2023-09-29 15:27:09 +02:00
Marc Rousavy
1c8c081e11
docs: Use updated Search index
2023-09-29 14:16:36 +02:00
Marc Rousavy
ad48823553
docs: Fix Algolia not working
2023-09-29 14:11:45 +02:00
Marc Rousavy
3d8d05302d
docs: Add Community Discord
2023-09-27 17:40:15 +02:00
Marc Rousavy
eec9a3eb6e
docs: Make images responsive
2023-09-27 12:21:34 +02:00
Marc Rousavy
bb7549bc01
docs: Fix highlight
2023-09-27 12:15:42 +02:00
Marc Rousavy
4830ba8bf6
docs: Fix hightlight line
2023-09-27 12:10:06 +02:00
Marc Rousavy
42d9948e8a
docs: Fix codeblocks alignment
2023-09-26 14:48:10 +02:00
Marc Rousavy
2c5c7d63b1
docs: Don't use bold links ( #1860 )
2023-09-26 14:42:22 +02:00
Ben Schlegel
04fd597866
docs: Fix docusaurus code block styling ( #1859 )
2023-09-26 14:20:24 +02:00
Marc Rousavy
8a7e45d6c6
docs: New default color ( #1857 )
...
* docs: New default color
* fix: Adjust codeblocks
* highlight color
2023-09-26 14:20:05 +02:00
Marc Rousavy
b75abd591a
Add border radius to images
2023-09-26 13:16:35 +02:00
Marc Rousavy
688963954a
docs: Align Images perfectly on mobile ( #1856 )
...
* docs: Use Light codeblocks theme
* docs: Fix image align
* fix pixels
* fix: Adjust all images
2023-09-26 13:09:44 +02:00
Marc Rousavy
cc88de3926
docs: Use Light codeblocks theme ( #1853 )
2023-09-26 13:09:11 +02:00
Marc Rousavy
14721d314f
chore: Remove semicolons ( #1846 )
...
* chore: Disable `semi` in Prettier
* chore: Format w/o semi
* Remove more `;`
* Lint example
* More ;
2023-09-26 11:39:17 +02:00
Marc Rousavy
2d66d5893c
docs: New V3 docs for new API ( #1842 )
...
* docs: New V3 docs for new API
* fix: Prefer Wide-Angle unless explicitly opted-out
* docs: Update DEVICES
* Finish Devices docs
* Switch links
* Revert "Switch links"
This reverts commit 06f196ae0e67787cbd5768e125be6d0a3cb5bbc9.
* docs: New LIFECYCLE
* docs: New CAPTURING docs
* Update Worklets links
* docs: Update TROUBLESHOOTING and ZOOMING
* fix: Update `getAvailableCameraDevices()` usages
* docs: Update FORMATS
* Update Errors.kt
* docs: Fix broken links
* docs: Update references to old hooks
* docs: Create Frame Processor Tips
* docs: Auto-dark mode
* fix: Fix FPS filter
* feat: Add `'max'` flag to format filter
* fix: Use loop
* fix: Fix bug in `getCameraFormat`
* fix: Find best aspect ratio as well
* fix: Switch between formats on FPS change
* Update FRAME_PROCESSOR_PLUGIN_LIST.mdx
* Add FPS graph explanation
* feat: Support HDR filter
* docs: Add HDR docs
* docs: Add Video Stabilization
* docs: Update Skia docs
* Skia links
* Add Skia labels
* Update SKIA_FRAME_PROCESSORS.mdx
* docs: Add Performance
* Update some wording
* Update headers / and zoom
* Add examples for devices
* fix highlights
* fix: Expose `Frame`
* docs: Update FP docs
* Update links
* Update FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx
2023-09-25 12:57:03 +02:00
Marc Rousavy
977b859e46
feat: New JS API for useCameraDevice
and useCameraFormat
and much faster getAvailableCameraDevices()
( #1784 )
...
* Update podfile
* Update useCameraFormat.ts
* Update API
* Delete FormatFilter.md
* Format CameraViewManager.m ObjC style
* Make `getAvailableCameraDevices` synchronous/blocking
* Create some docs
* fix: Fix HardwareLevel types
* fix: Use new device/format API
* Use 60 FPS format as an example
* Replace `Camera.getAvailableCameraDevices` with new `CameraDevices` API/Module
* Fix Lint
* KTLint options
* Use continuation indent of 8
* Use 2 spaces for indent
* Update .editorconfig
* Format code
* Update .editorconfig
* Format more
* Update VideoStabilizationMode.kt
* fix: Expose `CameraDevicesManager` to ObjC
* Update CameraPage.tsx
* fix: `requiresMainQueueSetup() -> false`
* Always prefer higher resolution
* Update CameraDevicesManager.swift
* Update CameraPage.tsx
* Also filter pixelFormat
* fix: Add AVFoundation import
2023-09-21 11:20:33 +02:00
Johannes Klein
3cf42a0271
docs: Fix link in ZOOMING ( #1803 )
...
Fix a link in ZOOMING.mdx
2023-09-17 15:23:00 +02:00
Marc Rousavy
297abae6bb
docs: Upgrade to Docusaurus 3 ( #1783 )
...
* docs: Upgrade to latest Docusaurus/Typedoc
* chore: Re-run typedoc
* docs: Upgrade to Docusaurus 3
* Add `docs/api/` to gitignore
* Remove `docs` from git
* Remove V3 banner
* fix: Export `PixelFormat`
2023-09-11 11:45:17 +02:00
Marc Rousavy
b300209e36
docs: Restructure FP docs ( #1762 )
2023-09-04 14:45:21 +02:00
Marc Rousavy
fa111ad344
docs: Add docs for Pause/Resume recording
2023-09-01 20:03:29 +02:00
Marc Rousavy
036856aed5
chore: Move everything into package/
( #1745 )
...
* Move everything into package
* Remove .DS_Store
* Move scripts and eslintrc to package
* Create CODE_OF_CONDUCT.md
* fix some links
* Update all links (I think)
* Update generated docs
* Update notice-yarn-changes.yml
* Update validate-android.yml
* Update validate-cpp.yml
* Delete notice-yarn-changes.yml
* Update validate-cpp.yml
* Update validate-cpp.yml
* Update validate-js.yml
* Update validate-cpp.yml
* Update validate-cpp.yml
* wrong c++ style
* Revert "wrong c++ style"
This reverts commit 55a3575589c6f13f8b05134d83384f55e0601ab2.
2023-09-01 18:15:28 +02:00
Marc Rousavy
2a5c33323b
docs: New README ( #1744 )
...
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Revert "Update README.md"
This reverts commit 8ce4949388323dc8d81366972b350476b77a8b99.
* Update README.md
* Update README.md
* Update README.md
* Revert "Update README.md"
This reverts commit 11c4655890d78728cff3ab31b8578f86ba6cbf0f.
* Delete settings.json
* Delete CODE_OF_CONDUCT.md
* Move `.clang-format` to `cpp/`
* Update README.md
* update docs
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update sidebars.js
2023-09-01 17:31:10 +02:00
Marc Rousavy
65aa9b49b7
docs: Add fancy new Banner ✨
2023-09-01 16:45:17 +02:00
Marc Rousavy
0e9f1ca640
perf: Improve pixelFormat
and add CameraDevice.sensorOrientation
( #1729 )
...
* feat: Orientation
* fix orientation value in manifest
* Update AndroidManifest.xml
* Style
* fix: Set MAX_IMAGES to 3
* Pass `isMirrored` to `VideoPipeline`
* Update docs about Skia FPs
* Options
* Add iPad target
* Remove UIDevice onOrientationChanged listener
* Update CameraView+AVCaptureSession.swift
* Update CameraView+AVCaptureSession.swift
* Update CameraView+AVCaptureSession.swift
* Get available pixelFormats on iOS
* format
* Update CameraSession.kt
* Expose `CameraDevice.sensorOrientation`
* Lock orientation again
2023-09-01 15:07:16 +02:00
Marc Rousavy
0a28454579
chore: Remove Skia ❌ 🎨 ( #1740 )
...
* Revert "feat: Skia for Android (#1731 )"
This reverts commit a7c137da07
.
* Remove some skia
* Remove all the Skia stuff.
* Update useFrameProcessor.ts
* Update lockfiles
* fix: Use native Preview again
* Use `OpenGLTexture&` again
* Remove `PreviewOutput` (we use `SurfaceView` in parallel)
* fix: Log photo widths
* fix: Fix cpplint
2023-09-01 12:20:17 +02:00
Marc Rousavy
ea3686cb9a
feat: Create C++/OpenGL-based Video Pipeline for more efficient Recording and Frame Processing ( #1721 )
...
* Create `VideoPipeline` c++
* Remove folly C++ dependency
* Create `VideoPipeline` HybridClass
* Set up OpenGL
* Add outputs
* Update VideoPipeline.kt
* Bum `minSdkVersion` to `26`
* Create `VideoPipelineOutput`
* Create output funcs
* Set output pipelines
* Add FP/Recording on Output change
* Update VideoPipeline.cpp
* Create `PassThroughShader`
* Try to draw? I have honestly no idea
* fix: Fix `setFrameProcessor` nameclash
* fix: Fix `high-res-sizes` being null
* Add preview output
* Create `OpenGLContext.cpp`
* Make screen red
* This _should_ work (MESSY)
* FINALLY RENDER TEXTURE
* Rotate
* Mirror
* Clean up a bit
* Add `getWidth()`/`getHeight()`
* Cleanup
* fix: Use uniforms instead of attributes
* Draw with passed rotation/mirror mode
* feat: Use SurfaceTexture's transformMatrix in OpenGL pipeline (#1727 )
* feat: Use Transform Matrix from SurfaceTexture
* Renam
* feat: Fix OpenGL Shader
* Update VideoPipeline.kt
* Measure elapsed time
* fix: Fix low resolution
* Render to offscreen
* Render to every context
* Release `SurfaceTexture` on close
* Use one OpenGL context to render to multiple EGLSurfaces
* Clean up a bit
* fix: Fix recording pipeline not triggering
* fix: Synchronize close to prevent nulls
* Update OpenGLRenderer.cpp
* fix: Hardcode Android recorder size
2023-08-29 17:52:03 +02:00