An open API service indexing awesome lists of open source software.

https://github.com/aiya000/vrcss-fovfix

VRChatで撮った写真のFOV(端の歪み)を修正する -- Fixing FOV (edge distortion) of photos taken in VRChat
https://github.com/aiya000/vrcss-fovfix

imagemagick shell shell-script vrchat vrchat-tool zsh

Last synced: about 1 month ago
JSON representation

VRChatで撮った写真のFOV(端の歪み)を修正する -- Fixing FOV (edge distortion) of photos taken in VRChat

Awesome Lists containing this project

README

          

# :diamond_shape_with_a_dot_inside: vrcss-fovfix :diamond_shape_with_a_dot_inside:


'VRChatの写真のFOVを調整するやつ'


'A stuff to adjust the FOV of VRChat pictures'


example

## :question: What/Why vrcss-fovfix? :question:

When shooting with VRChat's standard camera (FOV=60), the periphery of the image is stretched out.
This mistake is often noticed after the shot is taken and after leaving VRChat.
This is a critical problem for the VRChat selfie community!

**This is why you can use vrcss-fovfix to fix it after the fact.**

Look at the images above.
The left side of the image is the original.
The head looks a little bigger.

The right side is after the correction by vrcss-fixfov.
The feminine softness has returned.

Cute ;D

## Note

Since 2021-11, VRChat's camera can change the FOV to the other value than 60.
If you changed the FOV when you took a screenshot, specyfying the `` may help you.
See the usage below.

## :dizzy: Usage :dizzy:

### `./vrcss-fov-all.sh`

This adjusts the FOV of all VRChat screenshots in `./vrcss-fov-source` directory and saves the results to `./vrcss-fov-dist`.

1. Put your VRChat pictures to `./vrcss-fov-source`
2. Run `./vrcss-fov-all.sh`
- You can specify fov by `./vrcss-fov-all.sh `. Default is `50`, to adjust VRChat's default FOV
3. Your result is saved to `./vrcss-fov-dist/*`

After your result generated, You also should do:

1. Clean pictures (remove or move to some directory) from `./vrcss-fov-source` manually
- Note: If you don't want to change git status, don't remove `./vrcss-fov-source/.gitkeep`
2. Move your result pictures from `./vrcss-fov-dist` to another directory
- Note: If you don't want to change git status, don't remove `./vrcss-fov-dist/.gitkeep` too

### `./vrcss-fov.sh`

You can adjust only an image by running `./vrcss-fov.sh [fov] `.

Run `./vrcss-fov.sh ` instead of above to use the default FOV `50`.

### Recommendations for Windows and WSL

If you are using Windows and WSL, I recommend below steps:

1. `git clone https://github.com/aiya000/vrcss-fovfix {some-WSL-directory}/vrcss-fovfix`
- `{some-WSL-directory}` should not be a Windows directory
- You may get some error about script execution if you cloned this repository to a Windows directory
2. `cd {some-WSL-directory}/vrcss-fovfix`
3. `explorer.exe ./vrcss-fov-source`
4. Put your VRChat pictures to `./vrcss-fov-source` by Drag&Drop
5. Run `./vrcss-fov-all.sh` or `./vrcss-fov.sh `
6. `explorer.exe ./vrcss-fov-dist`
7. Move your result pictures to another directory by Drag&Drop
8. Clean pictures from `./vrcss-fov-source`

## :grey_exclamation: Requirements :grey_exclamation:

- zsh (PR to support bash is welcome)
- ImageMagick

## :star: Original code and Respects :star:

This repository code is a fork of [chigirits/README.md](https://gist.github.com/chigirits/55d6eed4396ed5da64878af2b43111ed).
Thanks chigirits.

This original source is for `cmd.exe` of Windows.