question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sistine.py in crash when I run it

See original GitHub issue

I run with the command python2 sistine.py but the window with the picture of webcam, remains open for only 2 seconds. In the terminal i can see this message: Traceback (most recent call last): File "sistine.py", line 397, in <module> main() File "sistine.py", line 383, in main if not currStage(segmented, debugframe, options, ticks, drawframe, calib, state): File "sistine.py", line 223, in _calibration x, y, touch = find(segmented, debugframe=drawframe, options=options) File "sistine.py", line 152, in find _, cnts, _ = cv2.findContours(segmented_image.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE) ValueError: need more than 2 values to unpack

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ashok2ashokcommented, Jun 27, 2019

I have a similar issue. Followed instructs in readme and when I run sistine.py, getting a ValueError. I’m running MacOS Mojave v10.14.5.

$ python2 sistine.py  
Traceback (most recent call last):  
  File "sistine.py", line 397, in <module>  
    main()  
  File "sistine.py", line 383, in main  
    if not currStage(segmented, debugframe, options, ticks, drawframe, calib, state):  
  File "sistine.py", line 223, in _calibration  
    x, y, touch = find(segmented, debugframe=drawframe, options=options)  
  File "sistine.py", line 152, in find  
    _, cnts, _ = cv2.findContours(segmented_image.copy(), cv2.RETR_EXTERNAL,   cv2.CHAIN_APPROX_SIMPLE)  
ValueError: need more than 2 values to unpack 
0reactions
void-roboticscommented, Jul 31, 2019

This worked for me too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · bijection/sistine - GitHub
Sistine.py in crash when I run it. #12 opened on Jan 19, 2019 by LolloMazzy · 6 · [function- segment] [Why RGB2LAB &...
Read more >
Pygame window crashing on run - Stack Overflow
It is crashing due to the use of the input function. When calling the input function, the program waits until the user enters...
Read more >
evdev touchscreen
Rotating touch screen in QT Application using Evdevtouch plugin causes crashes. DISPLAY=:0 xinput --set-prop 'ADS7846 Touchscreen' 'Evdev Axes Swap' 1 ...
Read more >
Fix Illustrator crash issues - Adobe Support
If Illustrator still crashes, try these solutions · Adobe account · DLL errors · File open and save · Fonts · Media ·...
Read more >
Charon, Ferryman of Hades | Greek Mythology & Symbols
He was the ferryman of Hades whose responsibility it was to row the souls of the dead across the rivers Styx and Acheron...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found