Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement camera support for camera.rpl #1517

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from

Conversation

capitalistspz
Copy link
Contributor

@capitalistspz capitalistspz commented Mar 17, 2025

Done using the openpnp-capture library.

  • The colours are completely wrong
  • Only functional if camera has a 640x480 mode
  • May not be performant
  • Has only been tested on Linux

Closes: #103

@capitalistspz capitalistspz changed the title Implement camera.rpl Implement camera support for camera.rpl Mar 24, 2025
@capitalistspz
Copy link
Contributor Author

capitalistspz commented Mar 24, 2025

Tested against:

Camera App:
Consistently able to display camera output at launch, but after a while stops capturing frames.

Mii Maker (EUR v50):

Most of the time black screens and freezes when entering the QR code scanning screen. Occasionally displays the camera output correctly, and when it does, pressing 'Close' freezes the game.

@capitalistspz
Copy link
Contributor Author

At this point it seems that the camera is functional in both Mii Maker and my app.

There's a minor issue with Mii Maker: QR codes that are recognised with the Wii U Gamepad's camera are not recognised with this camera output.

@qurious-pixel
Copy link
Contributor

recursing the submodules, or at least dependencies/openpnp-capture/ and building it during the build-appimage job makes available the dependency.

    - name: "Install openpnp-capture dependencies"
      run: |
        cd dependencies/openpnp-capture/
        cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -GNinja
        cmake --build build
        sudo ninja install -C build

Update `openpnp-capture` dep for static linking.
Fix camera selection dropdown width
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Wii U GamePad camera emulation
2 participants