Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data/locale/ja-JP.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ crop_left="クロップ — 左(px)"
crop_top="クロップ — 上(px)"
crop_right="クロップ — 右(px)"
crop_bottom="クロップ — 下(px)"
preview_input="検出器入力のプレビュー(検出結果の代わりにクロップ/回転されたフレームを表示)"
preview_input="検出器入力のプレビュー(検出結果の代わりにクロップされたフレームを表示)"
preview="プレビュー処理中 "
feature_debug="デバッグログを有効にする(詳細なバックエンド+キャプチャログ)"
player_1="プレイヤー 1"
Expand Down
2 changes: 1 addition & 1 deletion readmes/README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Une fois le plugin installé et les poids du modèle téléchargés, vous pouvez
- **Activer le recadrage de l'entrée du détecteur** — ajoute des champs **Rogner (Gauche/Haut/Droite/Bas, px)** à la source,
pour cibler la zone où les cartes sont posées.
- Lorsque qu'elle est activée, l'option **Aperçu de l'entrée du détecteur** apparait:
activez-la pour que la source affiche l'image recadrée/pivotée qu'elle envoie au détecteur (afin de
activez-la pour que la source affiche l'image recadrée qu'elle envoie au détecteur (afin de
régler le recadrage directement dans l'aperçu de la source), puis désactivez-le pour revenir à
l'affichage des cartes détectées.
- **Enable debug logging** (désactivé par défaut) : affiche des diagnostics détaillés — le journal du dock
Expand Down
2 changes: 1 addition & 1 deletion readmes/README_jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ OSに応じた手順に従ってセットアップしてください。
* **Advanced features**(デフォルトでオフ):ライブ出力には影響せず、検出器が見る映像のみに作用する2つのオプション設定です。ここで有効にし、`Draw Display` ソースで値を設定してください:
* **Enable two players** — **Player 2** のデッキリストセットを追加し、**プレイヤーごとに独立したディテクター**を実行するため、2人のプレイヤーを同時に処理できます。通常の1人プレイ構成の場合はオフのままにしてください。
* **Enable detector input crop** — カードが置かれる領域に検出を絞り込むため、ソースに **Crop (Left/Top/Right/Bottom, px)** フィールドを追加します。
* この機能を有効にすると、ソースに「**プレビュー検出器入力**」のトグルも追加されます。オンにすると、ソースから検出器に送信されるトリミングおよび回転処理済みのフレームが表示されます(トリミングはソースのプレビュー画面で直接調整可能です)。オフにすると、検出されたカードの表示に戻ります。
* この機能を有効にすると、ソースに「**プレビュー検出器入力**」のトグルも追加されます。オンにすると、ソースから検出器に送信されるトリミング済みのフレームが表示されます(トリミングはソースのプレビュー画面で直接調整可能です)。オフにすると、検出されたカードの表示に戻ります。
* **Enable debug logging**(デフォルトでオフ):詳細な診断情報を表示します — ドックのログにはバックエンドの
起動詳細(解決済みデッキパス、チャンネル、閾値)とバックエンドの全ログ行がフィルタなしで表示され、
OBSログにはキャプチャの詳細(入力ソース、サイズ、クロップ)が記録されます。
Expand Down
2 changes: 1 addition & 1 deletion src/bridge.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Optional, opt-in plugin features. See feature_flags.h.
// Bridge between the C source code (draw.c) and the C++ dock. See bridge.h.
//

#include "bridge.h"
Expand Down
6 changes: 3 additions & 3 deletions src/bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// state to both the C source code (draw.c) and the C++ code.
//

#ifndef DRAW_FEATURE_FLAGS_H
#define DRAW_FEATURE_FLAGS_H
#ifndef DRAW_BRIDGE_H
#define DRAW_BRIDGE_H

#pragma once
#include <stdbool.h>
Expand All @@ -33,4 +33,4 @@ void draw_dock_set_button_enabled(bool enable);
}
#endif

#endif // DRAW_FEATURE_FLAGS_H
#endif // DRAW_BRIDGE_H
6 changes: 3 additions & 3 deletions src/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void draw_source_video_render(void *data, gs_effect_t *effect)

obs_source_release(source);

// Tuning aid: render the cropped/rotated input this source feeds the
// Tuning aid: render the cropped input this source feeds the
// detector (instead of the detected-card overlay), so the crop can be
// dialed in from this source's own preview. Detection still runs above.
if (context->preview_input) {
Expand Down Expand Up @@ -301,8 +301,8 @@ obs_properties_t *draw_source_get_properties(void *data)
obs_properties_add_int(props, "crop_bottom", obs_module_text("crop_bottom"), 0, 4320, 1);
}

// Tuning aid: preview the cropped/rotated input in this source. Shown only
// when crop or rotation is enabled (it's pointless otherwise).
// Tuning aid: preview the cropped input in this source. Shown only
// when crop is enabled (it's pointless otherwise).
if (draw_feature_enabled(FEATURE_CROP))
obs_properties_add_bool(props, "preview_input", obs_module_text("preview_input"));

Expand Down
2 changes: 1 addition & 1 deletion src/draw.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct draw_source_data {
uint32_t crop_right;
uint32_t crop_bottom;

// Tuning aid: when true, this source renders the cropped/rotated input it
// Tuning aid: when true, this source renders the cropped input it
// feeds the detector (instead of the detected-card overlay), so the crop
// can be dialed in from the source's own preview. Detection keeps running.
bool preview_input;
Expand Down
Loading