Any thoughts on making it more generic? Select the highest index?

On Thu, Mar 26, 2020 at 10:22 PM jonnymo <jonnym...@gmail.com> 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 <robertcnel...@gmail.com>
> wrote:
>
>> On Thu, Mar 26, 2020 at 10:27 AM <masterdo...@gmail.com> 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 beagleboard+unsubscr...@googlegroups.com.
>> 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 beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/CAG99bko9Nkz-Jb%2BnBYd-RvhBzGhNHJMkv1%2B7bVcn6hLdaqDcTA%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CAG99bko9Nkz-Jb%2BnBYd-RvhBzGhNHJMkv1%2B7bVcn6hLdaqDcTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
-- 
https://beagleboard.org/about - a 501c3 non-profit educating around open
hardware computing

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CA%2BT6QPmDfKm3EufGri%3DYqkerefqhrfv_Be8rMVR4Rvm9Yi2_JA%40mail.gmail.com.

Reply via email to