Commit Graph

1121 Commits

Author SHA1 Message Date
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
Marc Rousavy
9eed89aac6 chore: Upgrade version in Pods 2023-09-19 13:26:26 +02:00
Marc Rousavy
4c2921c0ba Fix spacing in issue templates 2023-09-19 13:25:08 +02:00
Marc Rousavy
3d840d6a2a docs: Add placeholders to issue templates 2023-09-19 13:23:27 +02:00
Marc Rousavy
ed55c34ca1
Update BUILD_ERROR.yml 2023-09-19 13:17:21 +02:00
Marc Rousavy
d95592e315
Update BUG_REPORT.yml 2023-09-19 13:17:07 +02:00
Marc Rousavy
d35932ff8a
Update BUG_REPORT.yml 2023-09-19 13:16:16 +02:00
Marc Rousavy
b44faacf5a docs: Update issue templates 2023-09-19 13:14:42 +02:00
Marc Rousavy
b574c8657e Update BUG_REPORT.yml 2023-09-19 13:14:04 +02:00
ike
18c7034b50
fix: Fix h264 videoCodec type for RecordVideoOptions (#1808) 2023-09-17 19:26:25 +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
82f56d223b
Update BUILD_ERROR.yml 2023-09-14 14:21:35 +02:00
Marc Rousavy
e958c3acf0
Update BUILD_ERROR.yml 2023-09-14 14:20:42 +02:00
Marc Rousavy
296e97c54d
Update BUILD_ERROR.yml 2023-09-14 14:20:23 +02:00
Marc Rousavy
3691f1f8d7
Update BUILD_ERROR.yml 2023-09-14 14:19:52 +02:00
Marc Rousavy
0d39b88b23
Update BUILD_ERROR.yml 2023-09-14 14:19:18 +02:00
Marc Rousavy
9561ac1d08
Update BUILD_ERROR.yml 2023-09-14 14:18:54 +02:00
Marc Rousavy
0d0329060d
Update BUILD_ERROR.yml 2023-09-14 14:18:04 +02:00
Marc Rousavy
50eb07b53e
Update BUILD_ERROR.yml 2023-09-14 14:17:30 +02:00
Marc Rousavy
b2171d6783
Update BUILD_ERROR.yml 2023-09-14 14:16:53 +02:00
Marc Rousavy
577d298f02
Update BUILD_ERROR.yml 2023-09-14 14:16:06 +02:00
Marc Rousavy
ef0d3cb279
Update BUILD_ERROR.yml 2023-09-14 14:15:32 +02:00
Marc Rousavy
8f7683f98f
Update BUG_REPORT.yml 2023-09-14 14:13:16 +02:00
Marc Rousavy
eb7792f343
Update BUG_REPORT.yml 2023-09-14 14:12:58 +02:00
Marc Rousavy
e9f0aecfba
Update BUG_REPORT.yml 2023-09-14 14:12:01 +02:00
Marc Rousavy
6247a2394f
Update BUG_REPORT.yml 2023-09-14 14:11:33 +02:00
Marc Rousavy
c1a286e09c
Update BUG_REPORT.yml 2023-09-14 14:11:21 +02:00
Marc Rousavy
907e7936d5
Update BUG_REPORT.yml 2023-09-14 14:10:52 +02:00
Marc Rousavy
b8fc32db34
Update BUG_REPORT.yml 2023-09-14 14:10:41 +02:00
Marc Rousavy
e4c6e5d11f
Update BUG_REPORT.yml 2023-09-14 14:09:47 +02:00
Marc Rousavy
d8ac0b54fa
Update BUG_REPORT.yml 2023-09-14 14:06:09 +02:00
Marc Rousavy
62ae7cc887
Update BUG_REPORT.yml 2023-09-14 14:02:26 +02:00
Marc Rousavy
d251394eb2
Update BUG_REPORT.yml 2023-09-14 14:02:18 +02:00
Marc Rousavy
87af5dd761
Update BUG_REPORT.yml 2023-09-14 14:02:02 +02:00
Marc Rousavy
4e96eb77e0
perf: Use ImageWriter instead of OpenGL Pipeline for faster processing (#1789)
* perf: Use `ImageWriter` instead of OpenGL Pipeline for faster processing

* chore: Remove C++ part of OpenGL pipeline

* Clean up

* Update README.md
2023-09-11 13:58:58 +02:00
Xavier Seignard
648c3638e8
fix: Log plugin name in assertion (#1786) 2023-09-11 11:48:26 +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
a4ace351fa
fix: Consider everything between 24mm and 43mm a wide-angle lense (#1782)
* fix: Consider everything between 24mm and 43mm a wide-angle lense

* chore: Use Kotlin when API instead

* Use floats

* Catch error
2023-09-11 11:33:02 +02:00
Marc Rousavy
f69e3dff36 docs: Add emojis to README 2023-09-07 11:54:45 +02:00
Vojtech Novak
eddb01fda1
fix: Fix potential bug in Photo Orientation (#1765) 2023-09-06 11:30:58 +02:00
rkmackinnon
6dd1d4147e
fix: Fix passing options to frame processors on iOS (#1750) 2023-09-06 11:27:35 +02:00
Marc Rousavy
ca7c8ab22d
chore: Use new Android Lint CI (#1761)
* chore: Use new Android Lint CI

* Update validate-android.yml
2023-09-06 11:01:36 +02:00
Marc Rousavy
b4b0e49eb5
fix: Also properly convert any[] -> List<Object> in FP Android (#1760)
* fix: Also properly convert `any[]` -> `List<Object>` in FP Android

* Format C++

* fix: Add missing return
2023-09-06 10:56:33 +02:00
Marc Rousavy
b300209e36
docs: Restructure FP docs (#1762) 2023-09-04 14:45:21 +02:00
Marc Rousavy
f3fd3f15e3
chore: Clean up Android codebase a bit (#1748)
<!--
                    ❤️ Thank you for your contribution! ❤️
              Make sure you have read the Contributing Guidelines:

https://github.com/mrousavy/react-native-vision-camera/blob/main/CONTRIBUTING.md
-->

## What

<!--
  Enter a short description on what this pull-request does.
  Examples:
    This PR adds support for the HEVC format.
    This PR fixes a "unsupported device" error on iPhone 8 and below.
    This PR fixes a typo in a CameraError.
    This PR adds support for Quadruple Cameras.
-->

## Changes

<!--
  Create a short list of logic-changes.
  Examples:
    * This PR changes the default value of X to Y.
    * This PR changes the configure() function to cache results.
-->

## Tested on

<!--
Create a short list of devices and operating-systems you have tested
this change on. (And verified that everything works as expected).
  Examples:
    * iPhone 11 Pro, iOS 14.3
    * Huawai P20, Android 10
-->

## Related issues

<!--
  Link related issues here.
  Examples:
    * Fixes #29
    * Closes #30
    * Resolves #5
-->
2023-09-02 01:04:36 +02:00
Marc Rousavy
272504f39d Add Discord link 2023-09-02 00:54:09 +02:00
Marc Rousavy
f2c41e333c
Update config.yml 2023-09-01 23:52:10 +02:00
Marc Rousavy
84272d2a2a
Update BUILD_ERROR.yml 2023-09-01 23:49:23 +02:00
Marc Rousavy
ba6ec0dc0d Use <picture> again 2023-09-01 21:42:11 +02:00
Marc Rousavy
d7bea8cf3b
Update README.md 2023-09-01 21:29:36 +02:00