Skip to content

why use more CPU than opencv #18

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions