Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Audio File Filter Application | |
Author: 0xPinole | |
Date: May 23, 2024 | |
Version: 1.0 | |
Description: | |
This Python script implements a graphical user interface (GUI) for audio file filtering using PyQt5 and Matplotlib. | |
The application allows users to load an audio file, apply various digital filters (low-pass, high-pass, band-pass, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from glob import glob | |
import argparse | |
import cv2 | |
import numpy as np | |
import os | |
import json | |
import datetime | |
""" | |
This code calibrates a camera using cv2. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
# Get a handle to the camera | |
cam = cv2.VideoCapture(2) | |
# Print various camera properties | |
print("CV_CAP_PROP_FRAME_WIDTH: " + str(cam.get(cv2.CAP_PROP_FRAME_WIDTH))) | |
print("CV_CAP_PROP_FRAME_HEIGHT: " + str(int(cam.get(cv2.CAP_PROP_FRAME_HEIGHT)))) | |
print("CV_CAP_PROP_FPS: " + str(cam.get(cv2.CAP_PROP_FPS))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Python.md] Functions, Imports, and Variables | |
A useful compilation of uncommon and | |
remarkable Python code snippets :] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# System Configuration Files | |
/etc/issue # A message to be printed before the login prompt. | |
/etc/motd # Message of the day banner content. | |
/etc/passwd # User account information. | |
/etc/group # Group information. | |
/etc/resolv.conf # DNS resolver configuration (for triggering IDS signatures). | |
/etc/shadow # Encrypted user passwords. | |
/etc/mtab # Mounted filesystems information. | |
/etc/inetd.conf # Configuration file for the internet services. | |
/var/log/dmesg # Kernel ring buffer log. |