Zeng Qinghui

Results 3 comments of Zeng Qinghui

@jasonmamy I think it could be like this: ```javascript const options = [{ value: 'zhejiang', label: 'Zhejiang', children: [{ value: 'hangzhou', label: 'Hangzhou', children: [{ value: 'xihu', label: 'West Lake',...

Thanks for using. If you want to get a gray image. You can try: ```python from nvjpeg import NvJpeg import numpy as np nj = NvJpeg() nv_img = nj.read(YOUR_IMG_PATH).dot([0.114,0.587,0.299]).astype(np.uint8) cv2.imshow("GrayImg",...

* 中文原文 1. 为什么测试解码提升很小? GPU硬解码在编解码速度上是比CPU快的,但是处理过程中多了 host to device 和 device to host 内存复制时间。所以在处理小图片的速度不理想。由于GPU核心数远远多于CPU核心数,所以使用多线程也有利于获得更好的结果。 2. 与官方demo 使用的api不一样 pynvjpeg旨在使用nvjpeg的编解码功能,实现兼容opencv的接口。 * English Translation 1. Why the decoding time is similar? GPU hard decoding...