Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/drinkingcoder/NeuralMarker
/ resize_lighting
Function
resize_lighting
eval_utils.py:22–28 ·
view source on GitHub ↗
(img)
Source
from the content-addressed store, hash-verified
20
return
img
21
22
def
resize_lighting(img):
23
if
img.shape[0] > img.shape[1]:
24
region = img[140:500, 0:480]
25
resize = cv2.resize(region, (640, 480))
26
return
resize
27
else
:
28
return
img
29
Callers
1
eval
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected