I'am just trying to complete my first run. After solving some issues (previous answers were very helpful, thanks!), I got stuck at the image test. I got the following output:
Loading config
Loading hip_main.dat
Filtering stars
Generating DB
Ready
rgb.solve_image('xmas/median_image.png')
Time1: 7.86781311035e-06
Traceback (most recent call last):
File "startracker.py", line 532, in <module>
exec(data)
File "<string>", line 1, in <module>
File "startracker.py", line 377, in solve_image
self.current_image=star_image(imagefile,self.median_image)
File "startracker.py", line 169, in __init__
contours,heirachy = cv2.findContours(thresh,1,2);
ValueError: too many values to unpack
Traceback (most recent call last):
File "startracker.py", line 532, in <module>
exec(data)
File "<string>", line 1, in <module>
File "startracker.py", line 377, in solve_image
self.current_image=star_image(imagefile,self.median_image)
File "startracker.py", line 169, in __init__
contours,heirachy = cv2.findContours(thresh,1,2);
ValueError: too many values to unpack
Can you help me? I've tried to use pdb, but it didn't work with the nc pipe. I will appreciate any recommendation to execute the code in debug mode.
Thank you very much in advance.