Skip to content

why use more CPU than opencv #18

@nistarlwc

Description

@nistarlwc

save some image.

img = cv2.imread(img_file, cv2.IMREAD_COLOR)   
nj_jpg = nj.encode(img, 100)   
fp = open(output_img_path, "wb")   
fp.write(nj_jpg)   
fp.close()

if use cv2.imwrite only use 14% CPU, but nvjpeg use 26% CPU

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions