Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshu370 committed Sep 18, 2021
1 parent a808aab commit 8950f84
Show file tree
Hide file tree
Showing 7 changed files with 1,233 additions and 0 deletions.
Binary file added __pycache__/main.cpython-39.pyc
Binary file not shown.
888 changes: 888 additions & 0 deletions build/main/Analysis-00.toc

Large diffs are not rendered by default.

263 changes: 263 additions & 0 deletions build/main/EXE-00.toc
@@ -0,0 +1,263 @@
('F:\\virus\\Sketch Creater\\dist\\main.exe',
True,
False,
False,
'c:\\python '
'391\\lib\\site-packages\\PyInstaller\\bootloader\\images\\icon-console.ico',
None,
False,
False,
'<?xml version="1.0" encoding="UTF-8" standalone="yes"?><assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"><assemblyIdentity type="win32" name="main" processorArchitecture="amd64" version="1.0.0.0"/><trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"><security><requestedPrivileges><requestedExecutionLevel level="asInvoker" uiAccess="false"/></requestedPrivileges></security></trustInfo><dependency><dependentAssembly><assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" language="*" processorArchitecture="*" version="6.0.0.0" publicKeyToken="6595b64144ccf1df"/><compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"/></dependentAssembly></dependency><compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"><application><supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/><supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/><supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/><supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/><supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/></application></compatibility><application xmlns="urn:schemas-microsoft-com:asm.v3"><windowsSettings><longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware></windowsSettings></application></assembly>',
True,
None,
None,
None,
'main.pkg',
[('PYZ-00.pyz', 'F:\\virus\\Sketch Creater\\build\\main\\PYZ-00.pyz', 'PYZ'),
('struct', 'c:\\python 391\\lib\\struct.pyo', 'PYMODULE'),
('pyimod01_os_path',
'c:\\python '
'391\\lib\\site-packages\\PyInstaller\\loader\\pyimod01_os_path.pyc',
'PYMODULE'),
('pyimod02_archive',
'c:\\python '
'391\\lib\\site-packages\\PyInstaller\\loader\\pyimod02_archive.pyc',
'PYMODULE'),
('pyimod03_importers',
'c:\\python '
'391\\lib\\site-packages\\PyInstaller\\loader\\pyimod03_importers.pyc',
'PYMODULE'),
('pyimod04_ctypes',
'c:\\python '
'391\\lib\\site-packages\\PyInstaller\\loader\\pyimod04_ctypes.pyc',
'PYMODULE'),
('pyiboot01_bootstrap',
'c:\\python '
'391\\lib\\site-packages\\PyInstaller\\loader\\pyiboot01_bootstrap.py',
'PYSOURCE'),
('pyi_rth_pkgutil',
'C:\\python '
'391\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py',
'PYSOURCE'),
('pyi_rth_multiprocessing',
'C:\\python '
'391\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py',
'PYSOURCE'),
('pyi_rth_inspect',
'C:\\python '
'391\\Lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py',
'PYSOURCE'),
('main', 'F:\\virus\\Sketch Creater\\main.py', 'PYSOURCE'),
('python39.dll', 'c:\\python 391\\python39.dll', 'BINARY'),
('VCRUNTIME140.dll', 'c:\\python 391\\VCRUNTIME140.dll', 'BINARY'),
('libopenblas.GK7GX5KEQ4F6UYO3P26ULGBQYHGQO7J4.gfortran-win_amd64.dll',
'c:\\python '
'391\\lib\\site-packages\\numpy\\.libs\\libopenblas.GK7GX5KEQ4F6UYO3P26ULGBQYHGQO7J4.gfortran-win_amd64.dll',
'BINARY'),
('cv2\\opencv_videoio_ffmpeg453_64.dll',
'c:\\python 391\\lib\\site-packages\\cv2\\opencv_videoio_ffmpeg453_64.dll',
'BINARY'),
('_lzma', 'c:\\python 391\\DLLs\\_lzma.pyd', 'EXTENSION'),
('_bz2', 'c:\\python 391\\DLLs\\_bz2.pyd', 'EXTENSION'),
('unicodedata', 'c:\\python 391\\DLLs\\unicodedata.pyd', 'EXTENSION'),
('select', 'c:\\python 391\\DLLs\\select.pyd', 'EXTENSION'),
('_socket', 'c:\\python 391\\DLLs\\_socket.pyd', 'EXTENSION'),
('_decimal', 'c:\\python 391\\DLLs\\_decimal.pyd', 'EXTENSION'),
('_overlapped', 'c:\\python 391\\DLLs\\_overlapped.pyd', 'EXTENSION'),
('_ssl', 'c:\\python 391\\DLLs\\_ssl.pyd', 'EXTENSION'),
('_asyncio', 'c:\\python 391\\DLLs\\_asyncio.pyd', 'EXTENSION'),
('_queue', 'c:\\python 391\\DLLs\\_queue.pyd', 'EXTENSION'),
('_ctypes', 'c:\\python 391\\DLLs\\_ctypes.pyd', 'EXTENSION'),
('_multiprocessing',
'c:\\python 391\\DLLs\\_multiprocessing.pyd',
'EXTENSION'),
('pyexpat', 'c:\\python 391\\DLLs\\pyexpat.pyd', 'EXTENSION'),
('_hashlib', 'c:\\python 391\\DLLs\\_hashlib.pyd', 'EXTENSION'),
('numpy.core._multiarray_tests',
'c:\\python '
'391\\lib\\site-packages\\numpy\\core\\_multiarray_tests.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.core._multiarray_umath',
'c:\\python '
'391\\lib\\site-packages\\numpy\\core\\_multiarray_umath.cp39-win_amd64.pyd',
'EXTENSION'),
('win32pdh',
'c:\\python 391\\lib\\site-packages\\win32\\win32pdh.pyd',
'EXTENSION'),
('numpy.linalg.lapack_lite',
'c:\\python '
'391\\lib\\site-packages\\numpy\\linalg\\lapack_lite.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random.mtrand',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\mtrand.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random._sfc64',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\_sfc64.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random._philox',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\_philox.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random._pcg64',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\_pcg64.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random._mt19937',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\_mt19937.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random.bit_generator',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\bit_generator.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random._generator',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\_generator.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random._bounded_integers',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\_bounded_integers.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.random._common',
'c:\\python '
'391\\lib\\site-packages\\numpy\\random\\_common.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.fft._pocketfft_internal',
'c:\\python '
'391\\lib\\site-packages\\numpy\\fft\\_pocketfft_internal.cp39-win_amd64.pyd',
'EXTENSION'),
('numpy.linalg._umath_linalg',
'c:\\python '
'391\\lib\\site-packages\\numpy\\linalg\\_umath_linalg.cp39-win_amd64.pyd',
'EXTENSION'),
('cv2.cv2',
'c:\\python 391\\lib\\site-packages\\cv2\\cv2.cp39-win_amd64.pyd',
'EXTENSION'),
('libcrypto-1_1.dll', 'c:\\python 391\\DLLs\\libcrypto-1_1.dll', 'BINARY'),
('libssl-1_1.dll', 'c:\\python 391\\DLLs\\libssl-1_1.dll', 'BINARY'),
('libffi-7.dll', 'c:\\python 391\\DLLs\\libffi-7.dll', 'BINARY'),
('pywintypes39.dll',
'c:\\python 391\\Lib\\site-packages\\pywin32_system32\\pywintypes39.dll',
'BINARY'),
('base_library.zip',
'F:\\virus\\Sketch Creater\\build\\main\\base_library.zip',
'DATA'),
('setuptools-49.2.1.dist-info\\LICENSE',
'c:\\python 391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\LICENSE',
'DATA'),
('pyinstaller-4.5.1.dist-info\\METADATA',
'c:\\python 391\\lib\\site-packages\\pyinstaller-4.5.1.dist-info\\METADATA',
'DATA'),
('setuptools-49.2.1.dist-info\\INSTALLER',
'c:\\python 391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\INSTALLER',
'DATA'),
('pip-20.2.3.dist-info\\INSTALLER',
'c:\\python 391\\lib\\site-packages\\pip-20.2.3.dist-info\\INSTALLER',
'DATA'),
('setuptools-49.2.1.dist-info\\METADATA',
'c:\\python 391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\METADATA',
'DATA'),
('setuptools-49.2.1.dist-info\\RECORD',
'c:\\python 391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\RECORD',
'DATA'),
('pip-20.2.3.dist-info\\WHEEL',
'c:\\python 391\\lib\\site-packages\\pip-20.2.3.dist-info\\WHEEL',
'DATA'),
('altgraph-0.17.dist-info\\WHEEL',
'c:\\python 391\\lib\\site-packages\\altgraph-0.17.dist-info\\WHEEL',
'DATA'),
('pyinstaller-4.5.1.dist-info\\RECORD',
'c:\\python 391\\lib\\site-packages\\pyinstaller-4.5.1.dist-info\\RECORD',
'DATA'),
('pyinstaller-4.5.1.dist-info\\REQUESTED',
'c:\\python 391\\lib\\site-packages\\pyinstaller-4.5.1.dist-info\\REQUESTED',
'DATA'),
('setuptools-49.2.1.dist-info\\dependency_links.txt',
'c:\\python '
'391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\dependency_links.txt',
'DATA'),
('pyinstaller-4.5.1.dist-info\\top_level.txt',
'c:\\python '
'391\\lib\\site-packages\\pyinstaller-4.5.1.dist-info\\top_level.txt',
'DATA'),
('setuptools-49.2.1.dist-info\\WHEEL',
'c:\\python 391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\WHEEL',
'DATA'),
('altgraph-0.17.dist-info\\METADATA',
'c:\\python 391\\lib\\site-packages\\altgraph-0.17.dist-info\\METADATA',
'DATA'),
('pip-20.2.3.dist-info\\REQUESTED',
'c:\\python 391\\lib\\site-packages\\pip-20.2.3.dist-info\\REQUESTED',
'DATA'),
('pyinstaller-4.5.1.dist-info\\COPYING.txt',
'c:\\python '
'391\\lib\\site-packages\\pyinstaller-4.5.1.dist-info\\COPYING.txt',
'DATA'),
('pip-20.2.3.dist-info\\top_level.txt',
'c:\\python 391\\lib\\site-packages\\pip-20.2.3.dist-info\\top_level.txt',
'DATA'),
('altgraph-0.17.dist-info\\RECORD',
'c:\\python 391\\lib\\site-packages\\altgraph-0.17.dist-info\\RECORD',
'DATA'),
('setuptools-49.2.1.dist-info\\zip-safe',
'c:\\python 391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\zip-safe',
'DATA'),
('pyinstaller-4.5.1.dist-info\\WHEEL',
'c:\\python 391\\lib\\site-packages\\pyinstaller-4.5.1.dist-info\\WHEEL',
'DATA'),
('pyinstaller-4.5.1.dist-info\\INSTALLER',
'c:\\python 391\\lib\\site-packages\\pyinstaller-4.5.1.dist-info\\INSTALLER',
'DATA'),
('pip-20.2.3.dist-info\\RECORD',
'c:\\python 391\\lib\\site-packages\\pip-20.2.3.dist-info\\RECORD',
'DATA'),
('setuptools-49.2.1.dist-info\\REQUESTED',
'c:\\python 391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\REQUESTED',
'DATA'),
('altgraph-0.17.dist-info\\top_level.txt',
'c:\\python 391\\lib\\site-packages\\altgraph-0.17.dist-info\\top_level.txt',
'DATA'),
('altgraph-0.17.dist-info\\zip-safe',
'c:\\python 391\\lib\\site-packages\\altgraph-0.17.dist-info\\zip-safe',
'DATA'),
('pyinstaller-4.5.1.dist-info\\entry_points.txt',
'c:\\python '
'391\\lib\\site-packages\\pyinstaller-4.5.1.dist-info\\entry_points.txt',
'DATA'),
('setuptools-49.2.1.dist-info\\entry_points.txt',
'c:\\python '
'391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\entry_points.txt',
'DATA'),
('altgraph-0.17.dist-info\\LICENSE',
'c:\\python 391\\lib\\site-packages\\altgraph-0.17.dist-info\\LICENSE',
'DATA'),
('setuptools-49.2.1.dist-info\\top_level.txt',
'c:\\python '
'391\\lib\\site-packages\\setuptools-49.2.1.dist-info\\top_level.txt',
'DATA'),
('pip-20.2.3.dist-info\\LICENSE.txt',
'c:\\python 391\\lib\\site-packages\\pip-20.2.3.dist-info\\LICENSE.txt',
'DATA'),
('pip-20.2.3.dist-info\\METADATA',
'c:\\python 391\\lib\\site-packages\\pip-20.2.3.dist-info\\METADATA',
'DATA'),
('pip-20.2.3.dist-info\\entry_points.txt',
'c:\\python 391\\lib\\site-packages\\pip-20.2.3.dist-info\\entry_points.txt',
'DATA'),
('altgraph-0.17.dist-info\\INSTALLER',
'c:\\python 391\\lib\\site-packages\\altgraph-0.17.dist-info\\INSTALLER',
'DATA'),
('main.exe.manifest',
'F:\\virus\\Sketch Creater\\build\\main\\main.exe.manifest',
'BINARY'),
('pyi-windows-manifest-filename main.exe.manifest', '', 'OPTION')],
[],
False,
False,
1631887375,
[('run.exe',
'c:\\python '
'391\\lib\\site-packages\\PyInstaller\\bootloader\\Windows-64bit\\run.exe',
'EXECUTABLE')])
Binary file added build/main/base_library.zip
Binary file not shown.
31 changes: 31 additions & 0 deletions build/main/main.exe.manifest
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="main" processorArchitecture="amd64" version="1.0.0.0"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" language="*" processorArchitecture="*" version="6.0.0.0" publicKeyToken="6595b64144ccf1df"/>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"/>
</dependentAssembly>
</dependency>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/>
</application>
</compatibility>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
</windowsSettings>
</application>
</assembly>
11 changes: 11 additions & 0 deletions main.py
@@ -0,0 +1,11 @@
import cv2
file = input("Enter your image location")
img = cv2.imread(file)
grey = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
inv = cv2.bitwise_not(grey)
blur = cv2.GaussianBlur(inv, (19, 19), 28)
blur_inv = cv2.bitwise_not(blur)
ske = cv2.divide(grey, blur_inv, scale=240.0)
sfile = input("Enter name of your file want to save")
cv2.imwrite(f"{sfile}.png", ske)
input()
40 changes: 40 additions & 0 deletions main.spec
@@ -0,0 +1,40 @@
# -*- mode: python ; coding: utf-8 -*-


block_cipher = None


a = Analysis(['main.py'],
pathex=['F:\\virus\\Sketch Creater'],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)

exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='main',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None )

0 comments on commit 8950f84

Please sign in to comment.