techxzen / hdrnet-mobile

A C++ implementation of hdrnet inference.
49 stars 11 forks source link

rgb data from img file #7

Closed FrancescaCi closed 2 years ago

FrancescaCi commented 2 years ago

Hi guys, I have some problems for reading the data images, in particular at this point:

ret = (*f_HDRNET_read_uchar_data_from_file)(rgb_data, size, input_file);

because there is not any .rgb file. In fact, the error is:

Error: fread failed! read_data_from_file

Am I missing some points? a conversion from original image to raw .rgb data?

Thank you in advance for you support!

techxzen commented 2 years ago

Please refer to the python script "script/run.py", which contains a process converting jpeg to rgb raw file.

FrancescaCi commented 2 years ago

Thank you for the support!