
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Part of the Hands Free Computing project. This subproject aims to allow a user to easily select icons on the screen in any environment.
Refer to the requirements.txt file.
Clone this repository to your computer.
Install the project using Python 3.8; then install the requirements in the requirements.txt file.
A sample demo of how the engine works so far can be found within the icondetection module.
You can use the functions as shown in demo.py as a default entry point.
In the below example, the main set of functions is called within a callback function, as this allows the threshold value to be controlled from a GUI in OpenCV.
def threshold_callback(val):
"""
Takes a value of threshold for the canny edge detector and finds the
bounding rectangles of appropriate edges within an image.
"""
# accept an input image and convert it to grayscale, and blur it
gray_scale_image = grayscale_blur(src)
# determine the bounding rectangles from canny detection
_, bound_rect = canny_detection(gray_scale_image, min_threshold=val)
# group the rectangles from this step
global grouped_rects
grouped_rects = group_rects(bound_rect, 0, src.shape[1])
# (for display purposes) use the provided rectangles to display in your program
render_rectangles(grouped_rects, src.copy(), "Grouped Rectangles", desired_color=(36, 9, 14))
render_rectangles(bound_rect, src.copy(), "Original Rectangles", desired_color=(96, 9, 104))
candidate_rectangle_demo()
✔ denotes an available API, ❌ denotes a WIP API
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are genuinely appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE
for more information.
Luis Zugasti - @luis__zugasti
Project Link: https://github.com/luiszugasti/IconMatch
FAQs
Detect icons on the screen easily and quickly.
We found that icondetection demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.