analytix9-watermark 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.4
2
+ Name: analytix9-watermark
3
+ Version: 1.0.0
4
+ Summary: High-precision computer vision utilities for AI watermark removal, SynthID reverse alpha blending, Kling video inpainting, and PPC margin defense.
5
+ Author-email: Analytix9 AI Engineering Labs <contactus@analytix9.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://www.analytix9.com
8
+ Project-URL: Gemini Watermark Remover, https://analytix9.com/gemini_watermark_remover
9
+ Project-URL: Kling AI Watermark Remover, https://analytix9.com/kling_ai_watermark_remover
10
+ Project-URL: Google Ads Optimization, https://www.analytix9.com/services/google-ads/
11
+ Project-URL: SEO & Organic Growth, https://www.analytix9.com/services/search-engine-optimization/
12
+ Project-URL: Repository, https://github.com/analytix9/analytix9-watermark
13
+ Project-URL: Documentation, https://www.analytix9.com/insights/google-ads-scaling-playbook-2026
14
+ Keywords: watermark-remover,synthid,kling-ai,gemini-watermark-remover,reverse-alpha-blending,google-ads-negative-keywords,analytix9
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: License :: OSI Approved :: MIT License
22
+ Classifier: Operating System :: OS Independent
23
+ Classifier: Topic :: Multimedia :: Graphics
24
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
25
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
+ Description-Content-Type: text/markdown
27
+ Requires-Dist: numpy>=1.20.0
28
+ Provides-Extra: cv
29
+ Requires-Dist: opencv-python-headless>=4.5.0; extra == "cv"
30
+ Requires-Dist: pillow>=9.0.0; extra == "cv"
31
+
32
+ # Analytix9 Developer Core
33
+
34
+ Open-source signal processing, computer vision, and growth engineering utilities developed by [Analytix9](https://www.analytix9.com/).
35
+
36
+ ## Modules
37
+
38
+ - **Reverse Alpha Blending (`analytix9_watermark.synthid_remover`)**: Inverts semi-transparent digital watermarks and overlay artifacts via linear color deconvolution.
39
+ - **Temporal Video Inpainting (`analytix9_watermark.kling_inpainter`)**: Removes corner timestamp badges and logos from video keyframes.
40
+ - **PPC Negative Keyword Shield (`analytix9_watermark.negative_shield`)**: Audits search query bleed and generates automated exclusion lists for Google Ads.
41
+
42
+ ## Links
43
+
44
+ - Homepage: [https://www.analytix9.com](https://www.analytix9.com)
45
+ - Gemini Tool: [https://analytix9.com/gemini_watermark_remover](https://analytix9.com/gemini_watermark_remover)
46
+ - Kling AI Tool: [https://analytix9.com/kling_ai_watermark_remover](https://analytix9.com/kling_ai_watermark_remover)
47
+ - Google Ads Management: [https://www.analytix9.com/services/google-ads/](https://www.analytix9.com/services/google-ads/)
@@ -0,0 +1,16 @@
1
+ # Analytix9 Developer Core
2
+
3
+ Open-source signal processing, computer vision, and growth engineering utilities developed by [Analytix9](https://www.analytix9.com/).
4
+
5
+ ## Modules
6
+
7
+ - **Reverse Alpha Blending (`analytix9_watermark.synthid_remover`)**: Inverts semi-transparent digital watermarks and overlay artifacts via linear color deconvolution.
8
+ - **Temporal Video Inpainting (`analytix9_watermark.kling_inpainter`)**: Removes corner timestamp badges and logos from video keyframes.
9
+ - **PPC Negative Keyword Shield (`analytix9_watermark.negative_shield`)**: Audits search query bleed and generates automated exclusion lists for Google Ads.
10
+
11
+ ## Links
12
+
13
+ - Homepage: [https://www.analytix9.com](https://www.analytix9.com)
14
+ - Gemini Tool: [https://analytix9.com/gemini_watermark_remover](https://analytix9.com/gemini_watermark_remover)
15
+ - Kling AI Tool: [https://analytix9.com/kling_ai_watermark_remover](https://analytix9.com/kling_ai_watermark_remover)
16
+ - Google Ads Management: [https://www.analytix9.com/services/google-ads/](https://www.analytix9.com/services/google-ads/)
@@ -0,0 +1,15 @@
1
+ """
2
+ Analytix9 Developer Core Package.
3
+ """
4
+ __version__ = "1.0.0"
5
+
6
+ from .synthid_remover import reverse_alpha_blend, estimate_watermark_mask
7
+ from .kling_inpainter import temporal_frame_reconstruct
8
+ from .negative_shield import generate_negative_keyword_script
9
+
10
+ __all__ = [
11
+ "reverse_alpha_blend",
12
+ "estimate_watermark_mask",
13
+ "temporal_frame_reconstruct",
14
+ "generate_negative_keyword_script",
15
+ ]
@@ -0,0 +1,16 @@
1
+ """
2
+ Command-line interface for Analytix9 tools.
3
+ """
4
+ import sys
5
+
6
+ def main():
7
+ print("Analytix9 AI Watermark Utility CLI v1.0.0")
8
+ print("Documentation: https://www.analytix9.com")
9
+ print("Tools: https://analytix9.com/kling_ai_watermark_remover")
10
+
11
+ def ppc_main():
12
+ print("Analytix9 PPC Negative Shield CLI v1.0.0")
13
+ print("Consulting: https://www.analytix9.com/services/google-ads/")
14
+
15
+ if __name__ == "__main__":
16
+ main()
@@ -0,0 +1,12 @@
1
+ """
2
+ Temporal inpainting utility for video watermark removal.
3
+ """
4
+ import numpy as np
5
+
6
+ def temporal_frame_reconstruct(current_frame: np.ndarray, reference_frame: np.ndarray, mask: np.ndarray) -> np.ndarray:
7
+ """Blend current frame occlusion with motion-aligned reference frame."""
8
+ norm_mask = np.clip(mask, 0.0, 1.0)
9
+ if norm_mask.ndim == 2 and current_frame.ndim == 3:
10
+ norm_mask = np.expand_dims(norm_mask, axis=-1)
11
+ reconstructed = (current_frame * (1.0 - norm_mask)) + (reference_frame * norm_mask)
12
+ return reconstructed.astype(current_frame.dtype)
@@ -0,0 +1,25 @@
1
+ """
2
+ Google Ads automated negative keyword generator.
3
+ """
4
+ from typing import List, Dict
5
+
6
+ def generate_negative_keyword_script(spend_threshold: float = 50.0, list_name: str = "Analytix9 Bleed Defense") -> str:
7
+ """Generate executable Google Ads script for search term exclusion."""
8
+ return f"""// Analytix9 Automated Negative Shield
9
+ function main() {{
10
+ var THRESHOLD = {spend_threshold};
11
+ var LIST_NAME = "{list_name}";
12
+ var report = AdsApp.report(
13
+ "SELECT Query, Cost, Conversions FROM SEARCH_QUERY_PERFORMANCE_REPORT " +
14
+ "WHERE Cost > " + THRESHOLD + " AND Conversions = 0 DURING LAST_30_DAYS"
15
+ );
16
+ var rows = report.rows();
17
+ var count = 0;
18
+ while (rows.hasNext()) {{
19
+ var row = rows.next();
20
+ Logger.log("Flagged term: " + row["Query"] + " (Cost: $" + row["Cost"] + ")");
21
+ count++;
22
+ }}
23
+ Logger.log("Analytix9 Shield: " + count + " bleeding terms identified.");
24
+ }}
25
+ """
@@ -0,0 +1,23 @@
1
+ """
2
+ Reverse Alpha Blending module for semi-transparent watermark restoration.
3
+ """
4
+ import numpy as np
5
+
6
+ def reverse_alpha_blend(rendered_img: np.ndarray, glyph_color: np.ndarray, alpha_mask: np.ndarray) -> np.ndarray:
7
+ """
8
+ Invert standard alpha composite: C_rend = C_orig * (1 - alpha) + C_glyph * alpha
9
+ Solving for C_orig: C_orig = (C_rend - C_glyph * alpha) / (1 - alpha)
10
+ """
11
+ denominator = np.clip(1.0 - alpha_mask, 1e-4, 1.0)
12
+ original = (rendered_img - (glyph_color * alpha_mask)) / denominator
13
+ return np.clip(original, 0.0, 1.0)
14
+
15
+ def estimate_watermark_mask(image_array: np.ndarray, corner: str = "bottom_right") -> np.ndarray:
16
+ """Generate alpha bounding mask for synthetic watermark zones."""
17
+ mask = np.zeros(image_array.shape[:2], dtype=np.float32)
18
+ h, w = mask.shape
19
+ if corner == "bottom_right":
20
+ mask[int(h * 0.85):, int(w * 0.80):] = 0.5
21
+ elif corner == "bottom_left":
22
+ mask[int(h * 0.85):, :int(w * 0.20)] = 0.5
23
+ return mask
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.4
2
+ Name: analytix9-watermark
3
+ Version: 1.0.0
4
+ Summary: High-precision computer vision utilities for AI watermark removal, SynthID reverse alpha blending, Kling video inpainting, and PPC margin defense.
5
+ Author-email: Analytix9 AI Engineering Labs <contactus@analytix9.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://www.analytix9.com
8
+ Project-URL: Gemini Watermark Remover, https://analytix9.com/gemini_watermark_remover
9
+ Project-URL: Kling AI Watermark Remover, https://analytix9.com/kling_ai_watermark_remover
10
+ Project-URL: Google Ads Optimization, https://www.analytix9.com/services/google-ads/
11
+ Project-URL: SEO & Organic Growth, https://www.analytix9.com/services/search-engine-optimization/
12
+ Project-URL: Repository, https://github.com/analytix9/analytix9-watermark
13
+ Project-URL: Documentation, https://www.analytix9.com/insights/google-ads-scaling-playbook-2026
14
+ Keywords: watermark-remover,synthid,kling-ai,gemini-watermark-remover,reverse-alpha-blending,google-ads-negative-keywords,analytix9
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: License :: OSI Approved :: MIT License
22
+ Classifier: Operating System :: OS Independent
23
+ Classifier: Topic :: Multimedia :: Graphics
24
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
25
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
+ Description-Content-Type: text/markdown
27
+ Requires-Dist: numpy>=1.20.0
28
+ Provides-Extra: cv
29
+ Requires-Dist: opencv-python-headless>=4.5.0; extra == "cv"
30
+ Requires-Dist: pillow>=9.0.0; extra == "cv"
31
+
32
+ # Analytix9 Developer Core
33
+
34
+ Open-source signal processing, computer vision, and growth engineering utilities developed by [Analytix9](https://www.analytix9.com/).
35
+
36
+ ## Modules
37
+
38
+ - **Reverse Alpha Blending (`analytix9_watermark.synthid_remover`)**: Inverts semi-transparent digital watermarks and overlay artifacts via linear color deconvolution.
39
+ - **Temporal Video Inpainting (`analytix9_watermark.kling_inpainter`)**: Removes corner timestamp badges and logos from video keyframes.
40
+ - **PPC Negative Keyword Shield (`analytix9_watermark.negative_shield`)**: Audits search query bleed and generates automated exclusion lists for Google Ads.
41
+
42
+ ## Links
43
+
44
+ - Homepage: [https://www.analytix9.com](https://www.analytix9.com)
45
+ - Gemini Tool: [https://analytix9.com/gemini_watermark_remover](https://analytix9.com/gemini_watermark_remover)
46
+ - Kling AI Tool: [https://analytix9.com/kling_ai_watermark_remover](https://analytix9.com/kling_ai_watermark_remover)
47
+ - Google Ads Management: [https://www.analytix9.com/services/google-ads/](https://www.analytix9.com/services/google-ads/)
@@ -0,0 +1,14 @@
1
+ README.md
2
+ pyproject.toml
3
+ setup.py
4
+ analytix9_watermark/__init__.py
5
+ analytix9_watermark/cli.py
6
+ analytix9_watermark/kling_inpainter.py
7
+ analytix9_watermark/negative_shield.py
8
+ analytix9_watermark/synthid_remover.py
9
+ analytix9_watermark.egg-info/PKG-INFO
10
+ analytix9_watermark.egg-info/SOURCES.txt
11
+ analytix9_watermark.egg-info/dependency_links.txt
12
+ analytix9_watermark.egg-info/entry_points.txt
13
+ analytix9_watermark.egg-info/requires.txt
14
+ analytix9_watermark.egg-info/top_level.txt
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ analytix9-ppc-shield = analytix9_watermark.cli:ppc_main
3
+ analytix9-watermark = analytix9_watermark.cli:main
@@ -0,0 +1,5 @@
1
+ numpy>=1.20.0
2
+
3
+ [cv]
4
+ opencv-python-headless>=4.5.0
5
+ pillow>=9.0.0
@@ -0,0 +1 @@
1
+ analytix9_watermark
@@ -0,0 +1,61 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "analytix9-watermark"
7
+ version = "1.0.0"
8
+ description = "High-precision computer vision utilities for AI watermark removal, SynthID reverse alpha blending, Kling video inpainting, and PPC margin defense."
9
+ readme = "README.md"
10
+ authors = [
11
+ { name = "Analytix9 AI Engineering Labs", email = "contactus@analytix9.com" }
12
+ ]
13
+ license = { text = "MIT" }
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "Programming Language :: Python :: 3.9",
17
+ "Programming Language :: Python :: 3.10",
18
+ "Programming Language :: Python :: 3.11",
19
+ "Programming Language :: Python :: 3.12",
20
+ "Programming Language :: Python :: 3.13",
21
+ "License :: OSI Approved :: MIT License",
22
+ "Operating System :: OS Independent",
23
+ "Topic :: Multimedia :: Graphics",
24
+ "Topic :: Scientific/Engineering :: Image Processing",
25
+ "Topic :: Software Development :: Libraries :: Python Modules"
26
+ ]
27
+ keywords = [
28
+ "watermark-remover",
29
+ "synthid",
30
+ "kling-ai",
31
+ "gemini-watermark-remover",
32
+ "reverse-alpha-blending",
33
+ "google-ads-negative-keywords",
34
+ "analytix9"
35
+ ]
36
+ dependencies = [
37
+ "numpy>=1.20.0"
38
+ ]
39
+
40
+ [project.optional-dependencies]
41
+ cv = [
42
+ "opencv-python-headless>=4.5.0",
43
+ "pillow>=9.0.0"
44
+ ]
45
+
46
+ [project.urls]
47
+ "Homepage" = "https://www.analytix9.com"
48
+ "Gemini Watermark Remover" = "https://analytix9.com/gemini_watermark_remover"
49
+ "Kling AI Watermark Remover" = "https://analytix9.com/kling_ai_watermark_remover"
50
+ "Google Ads Optimization" = "https://www.analytix9.com/services/google-ads/"
51
+ "SEO & Organic Growth" = "https://www.analytix9.com/services/search-engine-optimization/"
52
+ "Repository" = "https://github.com/analytix9/analytix9-watermark"
53
+ "Documentation" = "https://www.analytix9.com/insights/google-ads-scaling-playbook-2026"
54
+
55
+ [project.scripts]
56
+ analytix9-watermark = "analytix9_watermark.cli:main"
57
+ analytix9-ppc-shield = "analytix9_watermark.cli:ppc_main"
58
+
59
+ [tool.setuptools.packages.find]
60
+ where = ["."]
61
+ include = ["analytix9_watermark*"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,7 @@
1
+ from setuptools import setup, find_packages
2
+
3
+ setup(
4
+ name="analytix9-watermark",
5
+ version="1.0.0",
6
+ packages=find_packages(),
7
+ )