mirror of
https://github.com/wiltodelta/remove-ai-watermarks.git
synced 2026-09-01 10:10:38 +02:00
Reframe periodic pixel route as pipeline lattice; confirm and harden detection
The frozen periodic experts read an origin-anchored generation-pipeline lattice destroyed by a crop off the tile grid, not the crop-robust SynthID mark. Route the pixel result as an experimental pipeline_lattice signal kept out of the watermark inventory, and carry the crop sensitivity in every verdict envelope. Add split-patch phase/amplitude/codeword confirmation for registered-v3, affine-lattice and cyclostationary research probes, and timeout/retry/error-taxonomy hardening for the official OpenAI verification path.
This commit is contained in:
@@ -61,7 +61,7 @@ def score_pixels(pixels: NDArray[np.uint8]) -> list[ExpertScore]:
|
||||
if pixels.ndim != 3 or pixels.shape[2] != 3 or pixels.dtype != np.uint8:
|
||||
raise ValueError("pixels must be an RGB uint8 array")
|
||||
bgr_pixels = np.ascontiguousarray(pixels[:, :, ::-1])
|
||||
native = synthid_detector.detect_synthid("decoded-image", image=bgr_pixels)
|
||||
native = synthid_detector.detect_synthid("decoded-image", image=bgr_pixels, register_scale=False)
|
||||
registered = synthid_detector.detect_synthid("decoded-image", image=bgr_pixels, register_scale=True)
|
||||
fixed = _observation(FIXED_EXPERT_NAME, False, None)
|
||||
large = _observation(LARGE_EXPERT_NAME, False, None)
|
||||
|
||||
Reference in New Issue
Block a user