Skip to content

Add files via upload#3

Open
krishnakinnal wants to merge 3 commits into
bondhugula:masterfrom
krishnakinnal:master
Open

Add files via upload#3
krishnakinnal wants to merge 3 commits into
bondhugula:masterfrom
krishnakinnal:master

Conversation

@krishnakinnal

Copy link
Copy Markdown

Includes an implementation of Unsharp Masking using Python's OpenCV library (with Numba optimizations).
Also includes a feature to print the average frame delay values of all modes used during the video demo.

Includes an implementation of Unsharp Masking using Python's OpenCV library (with Numba optimizations).
Includes a feature to print the average frame delay values of all modes used during the video demo.
Comment thread video_demo/video_demo.py Outdated

"""Function to perform OpenCV Unsharp Masking"""
@jit("uint8[::](uint8[::],float64,float64)",cache=True,nogil=True)
def uscv(image,weight,threshold):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its good to have elaborate names, for variables, functions, classes etc. You can replace uscv -> unsharp_mask_cv

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated them sir

Updated variable and function names
Dictionary for frame delay accumulators and frame counters added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants