b613f9a4750fdbe6eff1adb82b803b83a5e160c8,tools/compare_tools.py,CompareTools,select_object,#,99
Before Change
elif event == cv2.EVENT_LBUTTONUP:
drawing = False
cv2.rectangle(CompareTools.img, (ix, iy), (x, y), (0, 255, 0), -1)
CompareTools.save_objects["rect"] += [(
(ix, iy),
After Change
def select_object(event, x, y, flag, param):
global ix, iy, drawing
color = tuple((np.random.rand(3) * 255).astype(int).tolist())
if event == cv2.EVENT_LBUTTONDOWN:
drawing = True
ix, iy = x, y
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 3
Instances
Project Name: shijieS/SST
Commit Name: b613f9a4750fdbe6eff1adb82b803b83a5e160c8
Time: 2018-05-29
Author: 1029783071@qq.com
File Name: tools/compare_tools.py
Class Name: CompareTools
Method Name: select_object
Project Name: ellisdg/3DUnetCNN
Commit Name: 26572a6f569dbe13d3b707ae103d089c8c425933
Time: 2018-03-14
Author: david.ellis@unmc.edu
File Name: unet3d/utils/utils.py
Class Name:
Method Name: resize
Project Name: Pinafore/qb
Commit Name: e79449afe45f4da6f1756a7d92bdd3cd6618c638
Time: 2018-04-25
Author: sjtufs@gmail.com
File Name: qanta/buzzer/util.py
Class Name:
Method Name: process_question
Project Name: MLWave/kepler-mapper
Commit Name: 9fc7493e3ffd84640f364fdc1e6a4bb06240472e
Time: 2019-02-27
Author: dave@daveeargle.com
File Name: kmapper/kmapper.py
Class Name: KeplerMapper
Method Name: map
Project Name: ANTsX/ANTsPy
Commit Name: d23adb96056f3a4ff2d477ae9051a79b481d625b
Time: 2018-11-23
Author: stnava@gmail.com
File Name: ants/utils/mask_image.py
Class Name:
Method Name: mask_image
Project Name: DistrictDataLabs/yellowbrick
Commit Name: 09ded558fd334e068de9c3612cffa4ebad51ab35
Time: 2017-05-21
Author: benjamin@bengfort.com
File Name: tests/test_features/test_pcoords.py
Class Name: ParallelCoordinatesTests
Method Name: test_integrated_pcoords