That works! Thank you
I tested out 5 webcams with both dummy.tidl and classificatin.tidl
1. Logitech C920 webcam works
2. VERY Old Creative VF0230 webcam - did not work
3. VERY Old trinket AMD Smarter Choice webcam -images torn up with overread 
errors-n as n goes randomly from 1 to 8
4. OLD Silicon Motion SM731 webcam works
5. OLD EyeToy webcam  - occasional image tears

check out https://elinux.org/RPi_USB_Webcams for some camera info.
 
I modified the common Makefile and it works. Just for curiosity I modified 
the local Makefile as well and
I's weird that the LOCAL Makefile is corrupted when I rebooted the board. 
It came up with a dialog box asking if you want to reload file from disk 
(that Makefile was modified in previous session and saved  "-r /dev/video1" 
similar to the common Makefile) . If I clicked "Y" it showed the correct 
mod -d/dev/video1, and if I clicked "no", it showed -d /dev/


On Thursday, March 26, 2020 at 10:23:17 PM UTC-4, jonnymo wrote:
>
> In the GitHub issue that was filed, I noted the following which seems to 
> get the camera active again:
>
>  
>
> Setting '-d /dev/video1' in the common Makefile seemed to do the trick. I 
> now have video from the camera in the TIDL example.
>
> This is what I changed at line 170 in the Makefile at:
> /var/lib/cloud9/common$
>
> else ifeq ($(PROC),tidl)
>         ti-mct-heap-check -c
>         sudo mjpg_streamer -i "input_opencv.so -d /dev/video1 -r 640x480 
> --filter ./$(TARGET)$(EXE)" -o "output_http.so -p 8080 -w 
> /usr/share/mjpg-streamer/www"
> else
>
>
>
> On Thu, Mar 26, 2020 at 9:20 AM Robert Nelson <[email protected] 
> <javascript:>> wrote:
>
>> On Thu, Mar 26, 2020 at 10:27 AM <[email protected] <javascript:>> 
>> wrote:
>> >
>> > Hi,
>> > I just came across this post that is relevant to the same problem. I 
>> just started working on this Beaglebone AI two days ago. I got the latest 
>> os image and updates and upgrades everything. I tried 
>> classification.tidl.cpp and I got the same last message that Jon Morss 
>> got.  And your latest message was about /dev/video0. On my board I got 
>> /dev/video0, /dev/video1 and it does recognize the camera. Do you mean that 
>> I can fix it with the change to the default dev for the camera ? And where 
>> can I change that? I worked with OpenCV and this VideoCapture::open() 
>> failed message seems to indicate a wrong /dev/video index?
>>
>> Please submit a bug to:
>>
>> https://github.com/beagleboard/cloud9-examples
>>
>> the classification demo should allow you to specify a video offset..
>>
>> Regards,
>>
>> -- 
>> Robert Nelson
>> https://rcn-ee.com/
>>
>> -- 
>> For more options, visit http://beagleboard.org/discuss
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BeagleBoard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beagleboard/CAOCHtYjyA8yTBWKs-%3DFUoE4kh20XgiQNpheJLfnzHG7_ouqVNA%40mail.gmail.com
>> .
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8704b589-5710-4c98-ba6b-8de5eee79655%40googlegroups.com.

Reply via email to