kaix90 / DCTNet

458 stars 97 forks source link

version of jpeg2dct, opencv, libjpeg #8

Open HoracceFeng opened 4 years ago

HoracceFeng commented 4 years ago

One more question, I think it may be better for you to do a little bit more explanation about the version. Since I find out that sometimes there exists a conflict of the version of libjpeg.

When I install opencv4 by using another way but not pip, the default version of libjpeg is 9, but the default version of libjpeg for jpeg2dct is version6.2, which is pretty painful.

Now it seems I should rebuild my docker image again to try your code... any help for me to have a quick try? Thank you.

kaix90 commented 4 years ago

Maybe you can try compiling libjpeg-turbo from source. For example, you can follow the compiling instructions in http://www.linuxfromscratch.org/blfs/view/svn/general/libjpeg.html. I use libjpeg-turbo 2.0.3 and works well. Then you can install jpeg2dct.

sketchplanet commented 4 years ago

One more question, I think it may be better for you to do a little bit more explanation about the version. Since I find out that sometimes there exists a conflict of the version of libjpeg.

When I install opencv4 by using another way but not pip, the default version of libjpeg is 9, but the default version of libjpeg for jpeg2dct is version6.2, which is pretty painful.

Now it seems I should rebuild my docker image again to try your code... any help for me to have a quick try? Thank you.

Have you solved this problem ? 'Wrong JPEG library version: library is 90, caller expect 62' . It bothers me a lot!