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

How to improve the camera view resolution from the default 1280x720 to higher like 1920x1080 #66

Open
dukeseo opened this issue Jul 22, 2020 · 1 comment

Comments

@dukeseo
Copy link

dukeseo commented Jul 22, 2020

Issue Summary

How to improve the camera view resolution from the default 1280x720 to higher like 1920x1080

I’m trying to make a prototype for my own project using using Openpose_Unity plugin provided by Github,

All is fine in my own usage, my PC specification is good enough, the plugin works well, also everything else including unity version has no problem ( using Unity 2018.4.20f, webcam using is Logitech BRIO )
the only issue is that the camera view resolution, which is originally 1280 x 720 in default.

 WHAT I WANT : the screen resolution of Output to be 1920 x 1080

 FIRST TRY : the Rawimage size in output brings the default 1280 x 720

1

 WHAT I DID NEXT : put some changes in code as below :
new Vector2Int(width, height); => new Vector2Int(1920, 1080);

2

 RESULT : it worked, the preview displays the changed number 1920 x 1080,
But it does not exactly applied in the ACTUAL GAME SCREEN. When I play the game, the actual resolution still shows like it is 1280 x 720
(I screen captured the both before & after and zoomed to compare, but the equal pixel number level)

3

Type of Issue

  • Help wanted
  • Question

Your System Configuration

  1. Whole console output (if errors appeared), paste the error to PasteBin and then paste the link here: LINK
    no errors appear

  2. OpenPose version: OpenPose Unity Plugin default? Or specific commit (e.g., d52878f)? Or specific version from Release section (e.g., 1.5.0)?
    Default used, the "Version" notepad says "OpenPose Unity Plugin v1.0.0alpha-1.5.0"

  3. General configuration:

    • Operating system (lsb_release -a in Ubuntu): windows 10
    • Release or Debug mode? (by default: release):
    • Compiler (gcc --version in Ubuntu or VS version in Windows): 5.4.0, ... (Ubuntu); VS2015 Enterprise Update 3, VS2017 community, ... (Windows); ...?
  4. Non-default settings:

    • Any custom OpenPose configuration with respect to the default version? (by default: no): No any.
  5. 3rd-party software:

    • Caffe version: Default from OpenPose, custom version, ...? default from OpenPose
    • OpenCV version: pre-compiled apt-get install libopencv-dev (only Ubuntu); OpenPose default (only Windows); compiled from source? If so, 2.4.9, 2.4.12, 3.1, 3.2?; ...? default
  6. If GPU mode issue: not this issue

    • CUDA version (cat /usr/local/cuda/version.txt in most cases):
    • cuDNN version:
    • GPU model (nvidia-smi in Ubuntu):
  7. If CPU-only mode issue: not this issue

    • CPU brand & model:
    • Total RAM memory available:
  8. If Windows system: default OpenPose DLL

    • Default OpenPose DLL or Portable demo or compiled library?
  9. If speed performance issue: not this issue

    • Run the OpenPose binaries and report the OpenPose timing speed based on this link.
@reptille
Copy link

Find script OpenPoseUserScript or other whene where u r configure plugin. Find this line and set resolution.
image

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

No branches or pull requests

2 participants