- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After doing "$ python3 stream_infer.py" in my own Ubuntu 16.04 X64, I have tried to run the command
in VNC server by installing vnc4server in Ubuntu 16.04 X64. However, I have got the below an issue.
How can we run stream_infer.py in VNC server in order to run the command remotely? Anyone that has already experienced?
- Error messages:
Running USB camera with cheese in VNC environment: Result is Failed.
invain@u1604:~$ cheese
(cheese:17167): Gdk-ERROR **: The program 'cheese' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
(Details: serial 99 error_code 1 request_code 149 (RANDR) minor_code 8)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap (core dumped)
Running stream_infer.py in VNC: Result is Failed.
invain@u1604:/work/ad/movidius/1.07.07/ncapi/py_examples/stream_infer$ python3 stream_infer.py
Gtk-Message: Failed to load module "topmenu-gtk-module"
Number of categories: 1000
Found stale device, resetting
Device 0 Address: 1.6 - VID/PID 03e7:2150
Starting wait for connect with 2000ms timeout
Found Address: 1.6 - VID/PID 03e7:2150
Found EP 0x81 : max packet size is 512 bytes
Found EP 0x01 : max packet size is 512 bytes
Found and opened device
Performing bulk write of 825136 bytes...
Successfully sent 825136 bytes of data in 34.369671 ms (22.895506 MB/s)
Boot successful, device address 1.6
Found Address: 1.6 - VID/PID 040e:f63b
done
Booted 1.6 -> VSC
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i have more or less the same setup (used vmplayer)
mine didn't work, it starts ok and opens a new window but that stays black (no video stream), i have to close both the camera window & shell to stop it.
i assume it simply can't find the usb camera or driver, haven't checked that yet.
i once got a blue windows screen, but now I unplug/re-plug the mvc between running samples that seems to work ok. (not sure that i the case or it was something completely different)
i tried the other examples.
the one with prediction male/female and age & classifaciton. age seems to work ok.
was funny to see that (by changing the python code so it would look at my own image) my male friend was classified as female
and the classifaction sample told me the image was a book store. (my friend in front of a bookcase) so it recognized the bookcase but not the person in front of it (??)
hope it helps,
regards.
bjorn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
i have more or less the same setup (used vmplayer)
mine didn't work, it starts ok and opens a new window but that stays black (no video stream), i have to close both the camera window & shell to stop it.
i assume it simply can't find the usb camera or driver, haven't checked that yet.
i once got a blue windows screen, but now I unplug/re-plug the mvc between running samples that seems to work ok. (not sure that i the case or it was something completely different)
i tried the other examples.
the one with prediction male/female and age & classifaciton. age seems to work ok.
was funny to see that (by changing the python code so it would look at my own image) my male friend was classified as female
and the classifaction sample told me the image was a book store. (my friend in front of a bookcase) so it recognized the bookcase but not the person in front of it (??)
hope it helps,
regards.
bjorn
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page