mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01:20 -08:00
Refactor code structure for improved readability and maintainability
Remove debugging border from the websr plugin's styling Enhance canvas sizing logic in artplayer-plugin-websr - Updated canvas positioning to center it within the player. - Introduced a new function to calculate canvas size based on the video aspect ratio. - Adjusted canvas dimensions during initialization and on resize events to maintain aspect ratio. - Ensured canvas styles are updated to reflect the calculated dimensions. feat: add comparison mode to artplayer-plugin-websr - Updated README.md to reflect new comparison feature and simplified content. - Modified package.json to remove unnecessary keywords. - Enhanced index.js to implement comparison functionality, allowing users to compare original and upscaled video. - Added new methods for enabling, disabling, and toggling comparison mode, as well as setting and getting the comparison position. - Updated TypeScript definitions to include new comparison options and methods.
This commit is contained in:
1 parent
07a5b0c0f0
commit
7dffd99cfd
308 files changed
+3175
-852
No files matched your search
@@ -0,0 +1 @@
|
||||
{"name": "anime4k/cnn-2x-m", "layers": {"conv2d_tf": {"name": "conv2d_tf", "type": "conv", "inputs": ["input_image"], "output": "conv2d_tf", "weights": [-0.11606336, 0.17977928, -0.27346742, 0.124493435, 0.15652506, 0.2845143, -0.0026843916, -0.19497222, 0.13320322, 0.11033785, -0.21989621, 0.11207873, 0.0, 0.0, 0.0, 0.0, -0.10988178, -0.30772716, -0.41737673, 0.09727902, -0.23669402, -0.5062192, -0.2662598, 0.1126543, -0.110433154, -0.035403367, -0.27922922, 0.014905251, 0.0, 0.0, 0.0, 0.0, 0.1673138, 0.21435647, 0.0991883, 0.08848872, 0.28353062, -0.22595239, 0.22235885, -0.12553884, -0.06435851, 0.23793034, -0.02895988, 0.05851421, 0.0, 0.0, 0.0, 0.0, -0.06527518, 0.0009992365, 0.16914415, -0.08580268, -0.065111995, 0.18426816, 0.33551374, -0.05623329, -0.34856713, 0.055840224, 0.10477855, 0.3088062, 0.0, 0.0, 0.0, 0.0, -0.4047918, -0.38514897, 0.6453525, -0.6695825, -0.4114409, -0.27396202, 0.58474267, 0.25724518, -0.3791753, -0.30253774, 0.19307339, -0.30811906, 0.0, 0.0, 0.0, 0.0, -0.05841689, 0.12711738, -0.26518336, -0.21317536, -0.052410815, 0.16059583, -0.05319537, 0.01622084, 0.07479186, -0.30965877, 0.2144306, 0.15355839, 0.0, 0.0, 0.0, 0.0, 0.14847465, 0.13815038, -0.028073678, 0.2186973, -0.18746363, -0.19688894, -0.21375322, -0.029839175, 0.31318492, 0.03398371, 0.13908163, -0.17011626, 0.0, 0.0, 0.0, 0.0, 0.082191214, -0.07573231, -0.110015325, 0.044385966, -0.09126862, 0.50149125, -0.36304137, -0.31671065, -0.0760504, 0.19005129, 0.29838115, -0.06994295, 0.0, 0.0, 0.0, 0.0, -0.03997613, 0.10711133, 0.2920969, 0.17430729, -0.08918032, 0.09155168, 0.013416766, 0.027657839, 0.19027728, 0.020657036, -0.33332226, -0.22530448, 0.0, 0.0, 0.0, 0.0], "bias": [0.07606802, 0.09729832, 0.012942811, 0.5625359]}, "conv2d_1_tf": {"name": "conv2d_1_tf", "type": "conv", "inputs": ["conv2d_tf"], "output": "conv2d_1_tf", "weights": [0.13398904, 0.31106707, -0.24516815, -0.10223475, -0.021094762, 0.06421805, 0.20445661, 0.017145015, -0.09517393, 0.030834226, 0.11247594, -0.009866822, -0.02299197, -0.0025018842, 0.078243144, -0.09684197, 0.26788697, 0.2721901, -0.16956545, 0.46711928, -0.06078478, 0.2121688, -0.10680213, -0.12403891, -0.12835354, -0.1414604, 0.2116623, 0.06955634, 0.030484539, 0.03776486, 0.062162813, 0.09124468, 0.015129639, 0.19659676, -0.43855304, 0.052361038, -0.12687272, -0.07380384, -0.04636695, 0.117407836, 0.08115984, -0.10018457, 0.06883005, -0.018031513, -0.03776163, -0.0367366, -0.07437988, -0.053009566, 0.17695092, 0.014332625, 0.002966589, -0.19727035, 0.08600045, 0.06847765, -0.14117013, -0.014638577, -0.14032821, -0.031005614, 0.14726682, 0.022833185, -0.015553153, 0.11482301, -0.002867386, -0.0039069876, -0.25406557, -0.115356736, 0.101271845, 0.33151704, 0.32322282, 0.040061504, -0.062065504, 0.115033105, -0.0933092, -0.10633967, -0.19852228, -0.18449658, 0.022037001, -0.19889763, 0.064308524, 0.10046037, 0.18254162, 0.32357463, 0.4288217, 0.6237335, -0.11840234, -0.0071857166, -0.08804538, -0.07589813, 0.15188785, -0.010205552, -0.09852454, -0.2460295, -0.07461511, -0.032564312, -0.27323446, -0.064379774, 0.044581793, 0.22894746, -0.1802935, -0.2690704, 0.079360805, 0.103287585, -0.008570362, -0.089542575, -0.1329516, 0.12050982, -0.0030015386, -0.027521424, 0.051165797, -0.10085252, 0.00013368498, 0.073774755, -0.40903112, -0.12125079, 0.298725, 0.036986463, 0.120306335, -0.17919756, -0.06324796, 0.28444302, 0.32893908, -0.08780014, -0.11230092, 0.20419864, -0.1681612, 0.16062817, -0.0123456055, -0.208336, -0.20350553, 0.22378701, 0.009587118, -0.10072582, 0.050127126, -0.037878074, -0.03381747, -0.021997068, 0.15292531, -0.010497088, 0.0758131, -0.056700535, 0.07834409, -0.10942698, 0.055824224, 0.12815832, -0.17698693, -0.3055658, 0.09967433, 0.098928824, 0.10173185, 0.04113592, -0.29084405, -0.024333095, 0.06813831, 0.053886253, 0.03601129, 0.01787395, -0.3636861, -0.2611388, 0.42422765, -0.27144617, -0.17313176, -0.094153084, -0.0032488997, -0.26813602, 0.20981374, -0.12566373, 0.09031148, 0.15152319, 0.024084533, 0.1122652, 0.012085819, -0.018394787, -0.03474743, -0.30334213, 0.17162411, -0.34010682, 0.10829615, -0.058659215, 0.096897066, -0.075050645, -0.04252922, 0.065123, 0.07876711, -0.14319685, -0.06574127, 0.05299319, -0.21848576, 0.05696007, -0.22319631, 0.02581564, 0.09025793, -0.12129464, 0.04095923, -0.07435875, 0.051763527, 0.072874926, 0.047589038, -0.12897262, 0.17409727, 0.0333813, 0.18284716, 0.20985128, -0.1333369, -0.045197096, -0.14864855, -0.6198857, 0.50725585, 0.1453008, 0.08633372, 0.041169077, -0.113290854, -0.119742654, 0.16737501, 0.17155202, 0.14582264, -0.28672713, 0.49221733, -0.1012341, 0.41467783, -0.036201924, -0.57681143, -0.5296542, -0.40910345, 0.6782604, -0.30978954, -0.036785055, -0.24596226, -0.17083214, 0.030971462, 0.010830634, 0.0026806833, 0.14230551, -0.11693772, 0.046302274, 0.4059211, 0.2792543, 0.15723385, -0.5630804, -0.6161421, 0.2024145, 0.21252708, -0.10771148, 0.036381878, 0.16049491, 0.05679561, -0.044410653, -0.0629642Line truncated
|
||||
Reference in new issue
Block a user