static inline id resize(Frame* frame, NSArray args) {
CMSampleBufferRef resizedBuffer = // ...
-
+
return [[Frame alloc] initWithBuffer:resizedBuffer orientation:frame.orientation];
}
```
-Which returns a [`Frame`](https://github.com/cuvent/react-native-vision-camera/blob/main/src/Frame.ts) in JS:
+Which returns a [`Frame`](https://github.com/mrousavy/react-native-vision-camera/blob/main/src/Frame.ts) in JS:
```js
const frameProcessor = useFrameProcessor((frame) => {
@@ -172,7 +172,7 @@ Your Frame Processor Plugins have to be fast. VisionCamera automatically detects
#### 🚀 Create your first Frame Processor Plugin for [iOS](frame-processors-plugins-ios) or [Android](frame-processors-plugins-android)!
-[1]: https://github.com/cuvent/react-native-vision-camera/blob/main/src/Frame.ts
-[2]: https://github.com/cuvent/react-native-vision-camera/blob/main/ios/Frame%20Processor/Frame.h
+[1]: https://github.com/mrousavy/react-native-vision-camera/blob/main/src/Frame.ts
+[2]: https://github.com/mrousavy/react-native-vision-camera/blob/main/ios/Frame%20Processor/Frame.h
[3]: https://developer.android.com/reference/androidx/camera/core/ImageProxy
[4]: https://github.com/facebook/react-native/blob/9a43eac7a32a6ba3164a048960101022a92fcd5a/React/Base/RCTBridgeModule.h#L20-L24
diff --git a/docs/docs/guides/FRAME_PROCESSOR_CREATE_FINAL.mdx b/docs/docs/guides/FRAME_PROCESSOR_CREATE_FINAL.mdx
index 28094ce..2521e0f 100644
--- a/docs/docs/guides/FRAME_PROCESSOR_CREATE_FINAL.mdx
+++ b/docs/docs/guides/FRAME_PROCESSOR_CREATE_FINAL.mdx
@@ -67,7 +67,7 @@ If you want to distribute your Frame Processor Plugin, simply use npm.
4. Implement the Frame Processor Plugin in the iOS, Android and JS/TS Codebase using the guides above
5. Add installation instructions to let users know they have to add your frame processor in the `babel.config.js` configuration.
6. Publish the plugin to npm. Users will only have to install the plugin using `npm i vision-camera-plugin-xxxxx` and add it to their `babel.config.js` file.
-7. [Add the plugin to the **official VisionCamera plugin list**](https://github.com/cuvent/react-native-vision-camera/edit/main/docs/docs/guides/FRAME_PROCESSOR_PLUGIN_LIST.mdx) for more visibility
+7. [Add the plugin to the **official VisionCamera plugin list**](https://github.com/mrousavy/react-native-vision-camera/edit/main/docs/docs/guides/FRAME_PROCESSOR_PLUGIN_LIST.mdx) for more visibility
diff --git a/docs/docs/guides/FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx b/docs/docs/guides/FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx
index df0cf68..a626037 100644
--- a/docs/docs/guides/FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx
+++ b/docs/docs/guides/FRAME_PROCESSOR_CREATE_PLUGIN_IOS.mdx
@@ -48,7 +48,7 @@ VISION_EXPORT_FRAME_PROCESSOR(scanQRCodes)
@end
```
-4. **Implement your Frame Processing.** See the [QR Code Plugin (Objective-C)](https://github.com/cuvent/react-native-vision-camera/blob/main/example/ios/Frame%20Processor%20Plugins/QR%20Code%20Plugin%20%28Objective%2DC%29) for reference.
+4. **Implement your Frame Processing.** See the [QR Code Plugin (Objective-C)](https://github.com/mrousavy/react-native-vision-camera/blob/main/example/ios/Frame%20Processor%20Plugins/QR%20Code%20Plugin%20%28Objective%2DC%29) for reference.
:::note
The JS function name will be equal to the Objective-C function name you choose (with a `__` prefix). Make sure it is unique across other Frame Processor Plugins, and doesn't shadow a JS runtime variable.
@@ -97,7 +97,7 @@ public class QRCodeFrameProcessorPlugin: NSObject, FrameProcessorPluginBase {
}
```
-5. **Implement your frame processing.** See [QR Code Plugin (Swift)](https://github.com/cuvent/react-native-vision-camera/blob/main/example/ios/Frame%20Processor%20Plugins/QR%20Code%20Plugin%20%28Swift%29) for reference.
+5. **Implement your frame processing.** See [QR Code Plugin (Swift)](https://github.com/mrousavy/react-native-vision-camera/blob/main/example/ios/Frame%20Processor%20Plugins/QR%20Code%20Plugin%20%28Swift%29) for reference.
diff --git a/docs/docs/guides/FRAME_PROCESSOR_PLUGIN_LIST.mdx b/docs/docs/guides/FRAME_PROCESSOR_PLUGIN_LIST.mdx
index fec861a..b24f8d4 100644
--- a/docs/docs/guides/FRAME_PROCESSOR_PLUGIN_LIST.mdx
+++ b/docs/docs/guides/FRAME_PROCESSOR_PLUGIN_LIST.mdx
@@ -41,7 +41,7 @@ You have to restart metro-bundler for changes in the `babel.config.js` file to t
-Click here to add your Frame Processor Plugin to this list!
+Click here to add your Frame Processor Plugin to this list!
diff --git a/docs/docs/guides/LIFECYCLE.mdx b/docs/docs/guides/LIFECYCLE.mdx
index 29f3659..f4a63b3 100644
--- a/docs/docs/guides/LIFECYCLE.mdx
+++ b/docs/docs/guides/LIFECYCLE.mdx
@@ -16,7 +16,7 @@ The Camera's `isActive` property can be used to _pause_ the session (`isActive={
For example, you want to **pause the camera** when the user **navigates to another page** or **minimizes the app** since otherwise the camera continues to run in the background without the user seeing it, causing **siginificant battery drain**. Also, on iOS a green dot indicates the user that the camera is still active, possibly causing the user to raise privacy concerns. (🔗 See ["About the orange and green indicators in your iPhone status bar"](https://support.apple.com/en-us/HT211876))
-This example demonstrates how you could pause the camera stream once the app goes into background using a [custom `useIsAppForeground` hook](https://github.com/cuvent/react-native-vision-camera/blob/main/example/src/hooks/useIsForeground.ts):
+This example demonstrates how you could pause the camera stream once the app goes into background using a [custom `useIsAppForeground` hook](https://github.com/mrousavy/react-native-vision-camera/blob/main/example/src/hooks/useIsForeground.ts):
```tsx
function App() {
diff --git a/docs/docs/guides/TROUBLESHOOTING.mdx b/docs/docs/guides/TROUBLESHOOTING.mdx
index 109123c..f11ba34 100644
--- a/docs/docs/guides/TROUBLESHOOTING.mdx
+++ b/docs/docs/guides/TROUBLESHOOTING.mdx
@@ -46,7 +46,7 @@ Before opening an issue, make sure you try the following:
npm i # or "yarn"
```
2. Since the Android implementation uses the not-yet fully stable **CameraX** API, make sure you've browsed the [CameraX issue tracker](https://issuetracker.google.com/issues?q=componentid:618491%20status:open) to find out if your issue is a limitation by the **CameraX** library even I cannot get around.
-3. Make sure your minimum SDK version is **21 or higher**, and target SDK version is **30 or higher**. See [the example's `build.gradle`](https://github.com/cuvent/react-native-vision-camera/blob/main/example/android/build.gradle#L5-L9) for reference.
+3. Make sure your minimum SDK version is **21 or higher**, and target SDK version is **30 or higher**. See [the example's `build.gradle`](https://github.com/mrousavy/react-native-vision-camera/blob/main/example/android/build.gradle#L5-L9) for reference.
1. Open your `build.gradle`
2. Set `buildToolsVersion` to `30.0.0` or higher
3. Set `compileSdkVersion` to `30` or higher
@@ -65,4 +65,4 @@ Before opening an issue, make sure you try the following:
## Issues
-If nothing has helped so far, try browsing the [GitHub issues](https://github.com/cuvent/react-native-vision-camera/issues?q=is%3Aissue). If your issue doesn't exist, [create a new one](https://github.com/cuvent/react-native-vision-camera/issues/new/choose). Make sure to fill out the template and include as many details as possible. Also try to reproduce the issue in the [example app](https://github.com/cuvent/react-native-vision-camera/blob/main/example).
+If nothing has helped so far, try browsing the [GitHub issues](https://github.com/mrousavy/react-native-vision-camera/issues?q=is%3Aissue). If your issue doesn't exist, [create a new one](https://github.com/mrousavy/react-native-vision-camera/issues/new/choose). Make sure to fill out the template and include as many details as possible. Also try to reproduce the issue in the [example app](https://github.com/mrousavy/react-native-vision-camera/blob/main/example).
diff --git a/docs/docs/guides/ZOOMING.mdx b/docs/docs/guides/ZOOMING.mdx
index 787cba3..4477a24 100644
--- a/docs/docs/guides/ZOOMING.mdx
+++ b/docs/docs/guides/ZOOMING.mdx
@@ -96,7 +96,7 @@ A Camera's `zoom` property is represented in a **logarithmic scale**. That means
### Pinch-to-zoom
-The above example only demonstrates how to animate the `zoom` property. To actually implement pinch-to-zoom or pan-to-zoom, take a look at the [VisionCamera example app](https://github.com/cuvent/react-native-vision-camera/tree/main/example), the pinch-to-zoom gesture can be found [here](https://github.com/cuvent/react-native-vision-camera/blob/d8551792e97eaa6fa768f54059ffce054bf748d9/example/src/CameraPage.tsx#L162-L176), and the pan-to-zoom gesture can be found [here](https://github.com/cuvent/react-native-vision-camera/blob/d8551792e97eaa6fa768f54059ffce054bf748d9/example/src/views/CaptureButton.tsx#L185-L205). They implement a real world use-case, where the maximum zoom value is clamped to a realistic value, and the zoom responds very gracefully by using a logarithmic scale.
+The above example only demonstrates how to animate the `zoom` property. To actually implement pinch-to-zoom or pan-to-zoom, take a look at the [VisionCamera example app](https://github.com/mrousavy/react-native-vision-camera/tree/main/example), the pinch-to-zoom gesture can be found [here](https://github.com/mrousavy/react-native-vision-camera/blob/d8551792e97eaa6fa768f54059ffce054bf748d9/example/src/CameraPage.tsx#L162-L176), and the pan-to-zoom gesture can be found [here](https://github.com/mrousavy/react-native-vision-camera/blob/d8551792e97eaa6fa768f54059ffce054bf748d9/example/src/views/CaptureButton.tsx#L185-L205). They implement a real world use-case, where the maximum zoom value is clamped to a realistic value, and the zoom responds very gracefully by using a logarithmic scale.
diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js
index 7a9ca83..6229fdf 100644
--- a/docs/docusaurus.config.js
+++ b/docs/docusaurus.config.js
@@ -1,12 +1,12 @@
module.exports = {
title: 'VisionCamera',
tagline: '📸 The Camera library that sees the vision.',
- url: 'https://cuvent.github.io',
+ url: 'https://mrousavy.github.io',
baseUrl: '/react-native-vision-camera/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
favicon: './favicon.ico',
- organizationName: 'cuvent',
+ organizationName: 'mrousavy',
projectName: 'react-native-vision-camera',
themeConfig: {
algolia: {
@@ -34,12 +34,12 @@ module.exports = {
position: 'left'
},
{
- href: 'https://github.com/cuvent/react-native-vision-camera/tree/main/example',
+ href: 'https://github.com/mrousavy/react-native-vision-camera/tree/main/example',
label: 'Example App',
position: 'left'
},
{
- href: 'https://github.com/cuvent/react-native-vision-camera',
+ href: 'https://github.com/mrousavy/react-native-vision-camera',
label: 'GitHub',
position: 'right',
},
@@ -61,7 +61,7 @@ module.exports = {
},
{
label: 'Example App',
- href: 'https://github.com/cuvent/react-native-vision-camera/tree/main/example',
+ href: 'https://github.com/mrousavy/react-native-vision-camera/tree/main/example',
},
],
},
@@ -70,16 +70,12 @@ module.exports = {
items: [
{
label: 'GitHub discussions',
- href: 'https://github.com/cuvent/react-native-vision-camera/discussions',
+ href: 'https://github.com/mrousavy/react-native-vision-camera/discussions',
},
{
label: 'Twitter (@mrousavy)',
href: 'https://twitter.com/mrousavy',
},
- {
- label: 'Twitter (@CuventTech)',
- href: 'https://twitter.com/CuventTech',
- },
],
},
{
@@ -87,16 +83,16 @@ module.exports = {
items: [
{
label: 'GitHub',
- href: 'https://github.com/cuvent/react-native-vision-camera',
+ href: 'https://github.com/mrousavy/react-native-vision-camera',
},
{
- label: 'Cuvent',
- href: 'https://cuvent.com',
+ label: 'Marc\'s Portfolio',
+ href: 'https://mrousavy.github.io',
},
],
},
],
- copyright: `Copyright © ${new Date().getFullYear()} Cuvent`,
+ copyright: `Copyright © ${new Date().getFullYear()} Marc Rousavy`,
},
},
presets: [
@@ -107,7 +103,7 @@ module.exports = {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl:
- 'https://github.com/cuvent/react-native-vision-camera/edit/main/docs/',
+ 'https://github.com/mrousavy/react-native-vision-camera/edit/main/docs/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
diff --git a/example/README.md b/example/README.md
index c323d23..2eb848d 100644
--- a/example/README.md
+++ b/example/README.md
@@ -28,7 +28,7 @@
To try the playground out for yourself, run the following commands:
```sh
-git clone https://github.com/cuvent/react-native-vision-camera
+git clone https://github.com/mrousavy/react-native-vision-camera
cd react-native-vision-camera
yarn bootstrap
```
diff --git a/ios/CameraBridge.h b/ios/CameraBridge.h
index 6f6c96f..a8d73f2 100644
--- a/ios/CameraBridge.h
+++ b/ios/CameraBridge.h
@@ -1,6 +1,6 @@
//
// CameraBridge.h
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 09.11.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/CameraError.swift b/ios/CameraError.swift
index 98b4b32..65573b2 100644
--- a/ios/CameraError.swift
+++ b/ios/CameraError.swift
@@ -1,6 +1,6 @@
//
// CameraError.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 14.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
@@ -139,7 +139,8 @@ enum FormatError {
case .invalidHdr:
return "The currently selected format does not support HDR capture! Make sure you select a format which `frameRateRanges` includes `supportsPhotoHDR`!"
case let .invalidColorSpace(colorSpace):
- return "The currently selected format does not support the colorSpace \"\(colorSpace)\"! Make sure you select a format which `colorSpaces` includes \"\(colorSpace)\"!"
+ return "The currently selected format does not support the colorSpace \"\(colorSpace)\"! " +
+ "Make sure you select a format which `colorSpaces` includes \"\(colorSpace)\"!"
case let .invalidPreset(preset):
return "The preset \"\(preset)\" is not available for the current camera device."
}
diff --git a/ios/CameraView+Focus.swift b/ios/CameraView+Focus.swift
index b9636a3..a0e4618 100644
--- a/ios/CameraView+Focus.swift
+++ b/ios/CameraView+Focus.swift
@@ -1,6 +1,6 @@
//
// CameraView+focus.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 19.02.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/CameraView+RecordVideo.swift b/ios/CameraView+RecordVideo.swift
index fd5d130..0612422 100644
--- a/ios/CameraView+RecordVideo.swift
+++ b/ios/CameraView+RecordVideo.swift
@@ -1,6 +1,6 @@
//
// CameraView+RecordVideo.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 16.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/CameraView+TakePhoto.swift b/ios/CameraView+TakePhoto.swift
index be988bc..d9cb3eb 100644
--- a/ios/CameraView+TakePhoto.swift
+++ b/ios/CameraView+TakePhoto.swift
@@ -1,6 +1,6 @@
//
// CameraView+TakePhoto.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 16.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/CameraView+Zoom.swift b/ios/CameraView+Zoom.swift
index 2ed5af0..90380a1 100644
--- a/ios/CameraView+Zoom.swift
+++ b/ios/CameraView+Zoom.swift
@@ -1,6 +1,6 @@
//
// CameraView+Zoom.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 18.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/CameraView.swift b/ios/CameraView.swift
index 926fd27..aba0fe6 100644
--- a/ios/CameraView.swift
+++ b/ios/CameraView.swift
@@ -1,6 +1,6 @@
//
// CameraView.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 09.11.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/CameraViewManager.m b/ios/CameraViewManager.m
index 6c47f24..e1384d5 100644
--- a/ios/CameraViewManager.m
+++ b/ios/CameraViewManager.m
@@ -1,6 +1,6 @@
//
// CameraViewManager.m
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 09.11.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/CameraViewManager.swift b/ios/CameraViewManager.swift
index b88f4f3..641897b 100644
--- a/ios/CameraViewManager.swift
+++ b/ios/CameraViewManager.swift
@@ -1,6 +1,6 @@
//
// CameraViewManager.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 09.11.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVCaptureDevice+isMultiCam.swift b/ios/Extensions/AVCaptureDevice+isMultiCam.swift
index 4df475c..9cdc371 100644
--- a/ios/Extensions/AVCaptureDevice+isMultiCam.swift
+++ b/ios/Extensions/AVCaptureDevice+isMultiCam.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice+isMultiCam.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 07.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVCaptureDevice+neutralZoom.swift b/ios/Extensions/AVCaptureDevice+neutralZoom.swift
index 7660c02..4a75165 100644
--- a/ios/Extensions/AVCaptureDevice+neutralZoom.swift
+++ b/ios/Extensions/AVCaptureDevice+neutralZoom.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice+neutralZoom.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 10.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVCaptureDevice+physicalDevices.swift b/ios/Extensions/AVCaptureDevice+physicalDevices.swift
index e707540..15f280e 100644
--- a/ios/Extensions/AVCaptureDevice+physicalDevices.swift
+++ b/ios/Extensions/AVCaptureDevice+physicalDevices.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice+physicalDevices.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 10.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVCaptureDevice.Format+isBetterThan.swift b/ios/Extensions/AVCaptureDevice.Format+isBetterThan.swift
index 4734a0b..40753b3 100644
--- a/ios/Extensions/AVCaptureDevice.Format+isBetterThan.swift
+++ b/ios/Extensions/AVCaptureDevice.Format+isBetterThan.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice.Format+isBetterThan.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 19.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVCaptureDevice.Format+matchesFilter.swift b/ios/Extensions/AVCaptureDevice.Format+matchesFilter.swift
index 8bcfc84..b6ea98b 100644
--- a/ios/Extensions/AVCaptureDevice.Format+matchesFilter.swift
+++ b/ios/Extensions/AVCaptureDevice.Format+matchesFilter.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice.Format+matchesFilter.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVCaptureDevice.Format+toDictionary.swift b/ios/Extensions/AVCaptureDevice.Format+toDictionary.swift
index 0752236..0b08568 100644
--- a/ios/Extensions/AVCaptureDevice.Format+toDictionary.swift
+++ b/ios/Extensions/AVCaptureDevice.Format+toDictionary.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice.Format+toDictionary.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVCapturePhotoOutput+mirror.swift b/ios/Extensions/AVCapturePhotoOutput+mirror.swift
index de6dacf..84b65ef 100644
--- a/ios/Extensions/AVCapturePhotoOutput+mirror.swift
+++ b/ios/Extensions/AVCapturePhotoOutput+mirror.swift
@@ -1,6 +1,6 @@
//
// AVCapturePhotoOutput+mirror.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 18.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVCaptureVideoDataOutput+setOrientation.swift b/ios/Extensions/AVCaptureVideoDataOutput+setOrientation.swift
index 5afc416..cc887f0 100644
--- a/ios/Extensions/AVCaptureVideoDataOutput+setOrientation.swift
+++ b/ios/Extensions/AVCaptureVideoDataOutput+setOrientation.swift
@@ -1,6 +1,6 @@
//
// AVCaptureVideoDataOutput+setOrientation.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 18.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Extensions/AVFrameRateRange+includes.swift b/ios/Extensions/AVFrameRateRange+includes.swift
index 9eb9f94..c3be4c5 100644
--- a/ios/Extensions/AVFrameRateRange+includes.swift
+++ b/ios/Extensions/AVFrameRateRange+includes.swift
@@ -1,6 +1,6 @@
//
// AVFrameRateRange+includes.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Extensions/Collection+safe.swift b/ios/Extensions/Collection+safe.swift
index 7dfd19f..344bdea 100644
--- a/ios/Extensions/Collection+safe.swift
+++ b/ios/Extensions/Collection+safe.swift
@@ -1,6 +1,6 @@
//
// Collection+safe.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 10.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVAuthorizationStatus+descriptor.swift b/ios/Parsers/AVAuthorizationStatus+descriptor.swift
index 86bc4d7..e421a38 100644
--- a/ios/Parsers/AVAuthorizationStatus+descriptor.swift
+++ b/ios/Parsers/AVAuthorizationStatus+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVAuthorizationStatus+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 29.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCaptureColorSpace+descriptor.swift b/ios/Parsers/AVCaptureColorSpace+descriptor.swift
index 9b2ccc7..13a403b 100644
--- a/ios/Parsers/AVCaptureColorSpace+descriptor.swift
+++ b/ios/Parsers/AVCaptureColorSpace+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCaptureColorSpace+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 19.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCaptureDevice.DeviceType+descriptor.swift b/ios/Parsers/AVCaptureDevice.DeviceType+descriptor.swift
index bd1b96c..ae0f966 100644
--- a/ios/Parsers/AVCaptureDevice.DeviceType+descriptor.swift
+++ b/ios/Parsers/AVCaptureDevice.DeviceType+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice.DeviceType+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCaptureDevice.FlashMode+descriptor.swift b/ios/Parsers/AVCaptureDevice.FlashMode+descriptor.swift
index e9810e7..48ca6a0 100644
--- a/ios/Parsers/AVCaptureDevice.FlashMode+descriptor.swift
+++ b/ios/Parsers/AVCaptureDevice.FlashMode+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice.FlashMode+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCaptureDevice.Format.AutoFocusSystem+descriptor.swift b/ios/Parsers/AVCaptureDevice.Format.AutoFocusSystem+descriptor.swift
index 9029594..439c3e1 100644
--- a/ios/Parsers/AVCaptureDevice.Format.AutoFocusSystem+descriptor.swift
+++ b/ios/Parsers/AVCaptureDevice.Format.AutoFocusSystem+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice.Format.AutoFocusSystem+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 29.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCaptureDevice.Position+descriptor.swift b/ios/Parsers/AVCaptureDevice.Position+descriptor.swift
index 7fd2f38..e0445cb 100644
--- a/ios/Parsers/AVCaptureDevice.Position+descriptor.swift
+++ b/ios/Parsers/AVCaptureDevice.Position+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice.Position+String.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCaptureDevice.TorchMode+descriptor.swift b/ios/Parsers/AVCaptureDevice.TorchMode+descriptor.swift
index e61f75c..c112818 100644
--- a/ios/Parsers/AVCaptureDevice.TorchMode+descriptor.swift
+++ b/ios/Parsers/AVCaptureDevice.TorchMode+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCaptureDevice.TorchMode+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 18.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCapturePhotoOutput.QualityPrioritization+descriptor.swift b/ios/Parsers/AVCapturePhotoOutput.QualityPrioritization+descriptor.swift
index 8ddc9db..78d4d78 100644
--- a/ios/Parsers/AVCapturePhotoOutput.QualityPrioritization+descriptor.swift
+++ b/ios/Parsers/AVCapturePhotoOutput.QualityPrioritization+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCapturePhotoOutput.QualityPrioritization+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCaptureSession.Preset+descriptor.swift b/ios/Parsers/AVCaptureSession.Preset+descriptor.swift
index a52584a..3102444 100644
--- a/ios/Parsers/AVCaptureSession.Preset+descriptor.swift
+++ b/ios/Parsers/AVCaptureSession.Preset+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCaptureSession.Preset+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVCaptureVideoStabilizationMode+descriptor.swift b/ios/Parsers/AVCaptureVideoStabilizationMode+descriptor.swift
index db320f8..b91c5fc 100644
--- a/ios/Parsers/AVCaptureVideoStabilizationMode+descriptor.swift
+++ b/ios/Parsers/AVCaptureVideoStabilizationMode+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVCaptureVideoStabilizationMode+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 29.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/AVVideoCodecType+descriptor.swift b/ios/Parsers/AVVideoCodecType+descriptor.swift
index 961f65b..c2e733d 100644
--- a/ios/Parsers/AVVideoCodecType+descriptor.swift
+++ b/ios/Parsers/AVVideoCodecType+descriptor.swift
@@ -1,6 +1,6 @@
//
// AVVideoCodecType+descriptor.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/Parsers/EnumParserError.swift b/ios/Parsers/EnumParserError.swift
index 12debe3..527d700 100644
--- a/ios/Parsers/EnumParserError.swift
+++ b/ios/Parsers/EnumParserError.swift
@@ -1,6 +1,6 @@
//
// EnumParserError.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 18.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/PhotoCaptureDelegate.swift b/ios/PhotoCaptureDelegate.swift
index 55fa85a..02f73f2 100644
--- a/ios/PhotoCaptureDelegate.swift
+++ b/ios/PhotoCaptureDelegate.swift
@@ -1,6 +1,6 @@
//
// PhotoCaptureDelegate.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/ios/React Utils/MakeReactError.swift b/ios/React Utils/MakeReactError.swift
index 365d6c3..0e59f6a 100644
--- a/ios/React Utils/MakeReactError.swift
+++ b/ios/React Utils/MakeReactError.swift
@@ -1,6 +1,6 @@
//
// MakeReactError.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/React Utils/Promise.swift b/ios/React Utils/Promise.swift
index 9d528aa..4c09b8f 100644
--- a/ios/React Utils/Promise.swift
+++ b/ios/React Utils/Promise.swift
@@ -1,6 +1,6 @@
//
// Promise.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 14.01.21.
// Copyright © 2021 mrousavy. All rights reserved.
diff --git a/ios/React Utils/ReactLogger.swift b/ios/React Utils/ReactLogger.swift
index 569ccf5..96324d9 100644
--- a/ios/React Utils/ReactLogger.swift
+++ b/ios/React Utils/ReactLogger.swift
@@ -1,6 +1,6 @@
//
// ReactLogger.swift
-// Cuvent
+// mrousavy
//
// Created by Marc Rousavy on 15.12.20.
// Copyright © 2020 mrousavy. All rights reserved.
diff --git a/package.json b/package.json
index 80a3cbf..716bca0 100644
--- a/package.json
+++ b/package.json
@@ -50,7 +50,6 @@
"vision",
"native",
"module",
- "cuvent",
"react",
"ai",
"ar",
@@ -58,13 +57,13 @@
"qr-code",
"scanner"
],
- "repository": "https://github.com/cuvent/react-native-vision-camera",
+ "repository": "https://github.com/mrousavy/react-native-vision-camera",
"author": "Marc Rousavy (https://github.com/mrousavy)",
"license": "MIT",
"bugs": {
- "url": "https://github.com/cuvent/react-native-vision-camera/issues"
+ "url": "https://github.com/mrousavy/react-native-vision-camera/issues"
},
- "homepage": "https://cuvent.github.io/react-native-vision-camera/",
+ "homepage": "https://mrousavy.github.io/react-native-vision-camera/",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
diff --git a/src/Camera.tsx b/src/Camera.tsx
index 93a6dab..df230df 100644
--- a/src/Camera.tsx
+++ b/src/Camera.tsx
@@ -36,7 +36,7 @@ if (CameraModule == null) console.error("Camera: Native Module 'CameraView' was
/**
* ### A powerful `` component.
*
- * Read the [VisionCamera documentation](https://cuvent.github.io/react-native-vision-camera/) for more information.
+ * Read the [VisionCamera documentation](https://mrousavy.github.io/react-native-vision-camera/) for more information.
*
* The `` component's most important (and therefore _required_) properties are:
*
diff --git a/src/CameraDevice.ts b/src/CameraDevice.ts
index d9d67c5..9e697fb 100644
--- a/src/CameraDevice.ts
+++ b/src/CameraDevice.ts
@@ -60,7 +60,7 @@ export const parsePhysicalDeviceTypes = (
* * `"heic"`: The compressed HEIC color space.
* * `"private"`: The Android private opaque image format. (The choices of the actual format and pixel data layout are entirely up to the device-specific and framework internal implementations, and may vary depending on use cases even for the same device. These buffers are not directly accessible to the application)
* * `"depth-16"`: The Android dense depth image format (16 bit)
- * * `"unknown"`: Placeholder for an unknown image/pixel format. [Edit this file](https://github.com/cuvent/react-native-vision-camera/edit/main/android/src/main/java/com/mrousavy/camera/parsers/ImageFormat+String.kt) to add a name for the unknown format.
+ * * `"unknown"`: Placeholder for an unknown image/pixel format. [Edit this file](https://github.com/mrousavy/react-native-vision-camera/edit/main/android/src/main/java/com/mrousavy/camera/parsers/ImageFormat+String.kt) to add a name for the unknown format.
*
* > See ["Android Color Formats"](https://jbit.net/Android_Colors/) for more information.
*/
@@ -247,7 +247,7 @@ export interface CameraDevice {
/**
* All available formats for this camera device. Use this to find the best format for your use case and set it to the Camera's {@linkcode CameraProps.format | Camera's .format} property.
*
- * See [the Camera Formats documentation](https://cuvent.github.io/react-native-vision-camera/docs/guides/formats) for more information about Camera Formats.
+ * See [the Camera Formats documentation](https://mrousavy.github.io/react-native-vision-camera/docs/guides/formats) for more information about Camera Formats.
*/
formats: CameraDeviceFormat[];
/**
@@ -257,7 +257,7 @@ export interface CameraDevice {
* * On newer **Android** devices this value is always `true`.
* * On older **Android** devices this value is `true` if the device's hardware level is `LIMITED` or above, `false` otherwise. (`LEGACY`) (See [this table](https://developer.android.com/reference/android/hardware/camera2/CameraDevice#regular-capture))
*
- * If the device does not allow enabling `photo` and `video` capture at the same time, you might want to fall back to **snapshot capture** (See [**"Taking Snapshots"**](https://cuvent.github.io/react-native-vision-camera/docs/guides/capturing#taking-snapshots)) instead:
+ * If the device does not allow enabling `photo` and `video` capture at the same time, you might want to fall back to **snapshot capture** (See [**"Taking Snapshots"**](https://mrousavy.github.io/react-native-vision-camera/docs/guides/capturing#taking-snapshots)) instead:
*
* @example
* ```tsx
diff --git a/src/CameraError.ts b/src/CameraError.ts
index 527ce59..e9cf924 100644
--- a/src/CameraError.ts
+++ b/src/CameraError.ts
@@ -141,14 +141,14 @@ class CameraError extends Error {
/**
* Represents any kind of error that occured while trying to capture a video or photo.
*
- * See the ["Camera Errors" documentation](https://cuvent.github.io/react-native-vision-camera/docs/guides/errors) for more information about Camera Errors.
+ * See the ["Camera Errors" documentation](https://mrousavy.github.io/react-native-vision-camera/docs/guides/errors) for more information about Camera Errors.
*/
export class CameraCaptureError extends CameraError {}
/**
* Represents any kind of error that occured in the Camera View Module.
*
- * See the ["Camera Errors" documentation](https://cuvent.github.io/react-native-vision-camera/docs/guides/errors) for more information about Camera Errors.
+ * See the ["Camera Errors" documentation](https://mrousavy.github.io/react-native-vision-camera/docs/guides/errors) for more information about Camera Errors.
*/
export class CameraRuntimeError extends CameraError<
PermissionError | ParameterError | DeviceError | FormatError | SessionError | SystemError | UnknownError
diff --git a/src/CameraProps.ts b/src/CameraProps.ts
index bde2e9a..df1610e 100644
--- a/src/CameraProps.ts
+++ b/src/CameraProps.ts
@@ -8,7 +8,7 @@ export interface CameraProps extends ViewProps {
/**
* The Camera Device to use.
*
- * See the [Camera Devices](https://cuvent.github.io/react-native-vision-camera/docs/guides/devices) section in the documentation for more information about Camera Devices.
+ * See the [Camera Devices](https://mrousavy.github.io/react-native-vision-camera/docs/guides/devices) section in the documentation for more information about Camera Devices.
*
* @example
* ```tsx
@@ -26,7 +26,7 @@ export interface CameraProps extends ViewProps {
*/
device: CameraDevice;
/**
- * Whether the Camera should actively stream video frames, or not. See the [documentation about the `isActive` prop](https://cuvent.github.io/react-native-vision-camera/docs/guides/lifecycle#the-isactive-prop) for more information.
+ * Whether the Camera should actively stream video frames, or not. See the [documentation about the `isActive` prop](https://mrousavy.github.io/react-native-vision-camera/docs/guides/lifecycle#the-isactive-prop) for more information.
*
* This can be compared to a Video component, where `isActive` specifies whether the video is paused or not.
*
@@ -36,16 +36,16 @@ export interface CameraProps extends ViewProps {
//#region Use-cases
/**
- * * Enables **photo capture** with the `takePhoto` function (see ["Taking Photos"](https://cuvent.github.io/react-native-vision-camera/docs/guides/capturing#taking-photos))
+ * * Enables **photo capture** with the `takePhoto` function (see ["Taking Photos"](https://mrousavy.github.io/react-native-vision-camera/docs/guides/capturing#taking-photos))
*/
photo?: boolean;
/**
- * * Enables **video capture** with the `startRecording` function (see ["Recording Videos"](https://cuvent.github.io/react-native-vision-camera/docs/guides/capturing/#recording-videos))
- * * Enables **frame processing** (see ["Frame Processors"](https://cuvent.github.io/react-native-vision-camera/docs/guides/frame-processors))
+ * * Enables **video capture** with the `startRecording` function (see ["Recording Videos"](https://mrousavy.github.io/react-native-vision-camera/docs/guides/capturing/#recording-videos))
+ * * Enables **frame processing** (see ["Frame Processors"](https://mrousavy.github.io/react-native-vision-camera/docs/guides/frame-processors))
*/
video?: boolean;
/**
- * * Enables **audio capture** for video recordings (see ["Recording Videos"](https://cuvent.github.io/react-native-vision-camera/docs/guides/capturing/#recording-videos))
+ * * Enables **audio capture** for video recordings (see ["Recording Videos"](https://mrousavy.github.io/react-native-vision-camera/docs/guides/capturing/#recording-videos))
*/
audio?: boolean;
//#endregion
@@ -70,7 +70,7 @@ export interface CameraProps extends ViewProps {
/**
* Enables or disables the native pinch to zoom gesture.
*
- * If you want to implement a custom zoom gesture, see [the Zooming with Reanimated documentation](https://cuvent.github.io/react-native-vision-camera/docs/guides/animated).
+ * If you want to implement a custom zoom gesture, see [the Zooming with Reanimated documentation](https://mrousavy.github.io/react-native-vision-camera/docs/guides/animated).
*
* @default false
*/
@@ -159,7 +159,7 @@ export interface CameraProps extends ViewProps {
/**
* A worklet which will be called for every frame the Camera "sees". Throttle the Frame Processor's frame rate with {@linkcode frameProcessorFps}.
*
- * > See [the Frame Processors documentation](https://cuvent.github.io/react-native-vision-camera/docs/guides/frame-processors) for more information
+ * > See [the Frame Processors documentation](https://mrousavy.github.io/react-native-vision-camera/docs/guides/frame-processors) for more information
*
* @example
* ```tsx
diff --git a/src/VideoFile.ts b/src/VideoFile.ts
index 547bec2..60414b0 100644
--- a/src/VideoFile.ts
+++ b/src/VideoFile.ts
@@ -32,7 +32,7 @@ export interface VideoFile extends TemporaryFile {
/**
* Represents the duration of the video, in seconds.
*
- * This is `undefined` on Android, see [issue #77](https://github.com/cuvent/react-native-vision-camera/issues/77)
+ * This is `undefined` on Android, see [issue #77](https://github.com/mrousavy/react-native-vision-camera/issues/77)
*
* @platform iOS
*/
diff --git a/src/hooks/useFrameProcessor.ts b/src/hooks/useFrameProcessor.ts
index c73c710..684e220 100644
--- a/src/hooks/useFrameProcessor.ts
+++ b/src/hooks/useFrameProcessor.ts
@@ -4,7 +4,7 @@ import type { Frame } from 'src/Frame';
type FrameProcessor = (frame: Frame) => void;
/**
- * Returns a memoized Frame Processor function wich you can pass to the ``. (See ["Frame Processors"](https://cuvent.github.io/react-native-vision-camera/docs/guides/frame-processors))
+ * Returns a memoized Frame Processor function wich you can pass to the ``. (See ["Frame Processors"](https://mrousavy.github.io/react-native-vision-camera/docs/guides/frame-processors))
*
* Make sure to add the `'worklet'` directive to the top of the Frame Processor function, otherwise it will not get compiled into a worklet.
*