[beagleboard] Re: follow-up on mjpg streamer video manipulation on BLUE

2019-08-13 Thread Daniyal Ansari
It works!
Thank you.

https://gist.github.com/ansarid/b820026d2fd169fe729e8e8b651eba67

On Thu, Aug 1, 2019 at 4:25 PM Daniyal Ansari 
wrote:

> Testing that now.
> Also added beagleboard@googlegroups.com
>
> On Thu, Aug 1, 2019 at 3:54 PM Jason Kridner  wrote:
>
>> It is in the package feeds now, but not installed by default.
>>
>> sudo apt update
>> sudo apt install mjpg-streamer-opencv-python
>>
>> Would be awesome if we had beagleboard@googlegroups.com in copy. Do you
>> mind if I just forward this thread?
>>
>> On Thu, Aug 1, 2019 at 3:38 PM David Malawey  wrote:
>>
>>> Hi Jason,
>>>
>>> I'm writing the lab together with Daniyal to instruct students on using
>>> openCV to process video stream in realtime.   We need to be able to view
>>> our images in realtime after performing a filter, etc. using openCV.
>>> Daniyal is helping me put this tutorial together, and we believe you
>>> planned to make an update to the base image for the Blue to enable this.
>>>
>>> I think we are waiting on an OpenCV module to be added to the
>>> preinstalled mjpg-streamer before we can produce a live output of modified
>>> images.  Is this something you can add on your end and is it feasible to
>>> implement by next week?  My time is getting compressed to finish lab
>>> instructions for the fall, so I will decide this week if I should keep this
>>> lab or remove it from the lessons.
>>>
>>> Cheers,
>>>
>>> David Malawey, MS ME
>>> ETID Technical Lab Coordinator
>>> mala...@tamu.edu
>>>
>>
>>
>> --
>> https://beagleboard.org/about
>>
>

-- 
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/CAK6ueF%3DFCsvGtVLkJ8rX4MtPuzMBRa093EfDmdhzjr0tpus6Tw%40mail.gmail.com.


[beagleboard] Re: follow-up on mjpg streamer video manipulation on BLUE

2019-08-13 Thread Daniyal Ansari
Testing that now.
Also added beagleboard@googlegroups.com

On Thu, Aug 1, 2019 at 3:54 PM Jason Kridner  wrote:

> It is in the package feeds now, but not installed by default.
>
> sudo apt update
> sudo apt install mjpg-streamer-opencv-python
>
> Would be awesome if we had beagleboard@googlegroups.com in copy. Do you
> mind if I just forward this thread?
>
> On Thu, Aug 1, 2019 at 3:38 PM David Malawey  wrote:
>
>> Hi Jason,
>>
>> I'm writing the lab together with Daniyal to instruct students on using
>> openCV to process video stream in realtime.   We need to be able to view
>> our images in realtime after performing a filter, etc. using openCV.
>> Daniyal is helping me put this tutorial together, and we believe you
>> planned to make an update to the base image for the Blue to enable this.
>>
>> I think we are waiting on an OpenCV module to be added to the
>> preinstalled mjpg-streamer before we can produce a live output of modified
>> images.  Is this something you can add on your end and is it feasible to
>> implement by next week?  My time is getting compressed to finish lab
>> instructions for the fall, so I will decide this week if I should keep this
>> lab or remove it from the lessons.
>>
>> Cheers,
>>
>> David Malawey, MS ME
>> ETID Technical Lab Coordinator
>> mala...@tamu.edu
>>
>
>
> --
> https://beagleboard.org/about
>

-- 
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/CAK6ueF%3DZv-Jq53gZX_XKUt5Y%2BSAYEiHbn%2Ba3oG_e8nkpWysbJQ%40mail.gmail.com.


[beagleboard] Re: follow-up on mjpg streamer video manipulation on BLUE

2019-08-13 Thread Daniyal Ansari
On Thu, Aug 1, 2019 at 5:09 PM Daniyal Ansari 
wrote:

> It works!
> Thank you.
>
> https://gist.github.com/ansarid/b820026d2fd169fe729e8e8b651eba67
>
> On Thu, Aug 1, 2019 at 4:25 PM Daniyal Ansari 
> wrote:
>
>> Testing that now.
>> Also added beagleboard@googlegroups.com
>>
>> On Thu, Aug 1, 2019 at 3:54 PM Jason Kridner  wrote:
>>
>>> It is in the package feeds now, but not installed by default.
>>>
>>> sudo apt update
>>> sudo apt install mjpg-streamer-opencv-python
>>>
>>> Would be awesome if we had beagleboard@googlegroups.com in copy. Do you
>>> mind if I just forward this thread?
>>>
>>> On Thu, Aug 1, 2019 at 3:38 PM David Malawey  wrote:
>>>
>>>> Hi Jason,
>>>>
>>>> I'm writing the lab together with Daniyal to instruct students on using
>>>> openCV to process video stream in realtime.   We need to be able to view
>>>> our images in realtime after performing a filter, etc. using openCV.
>>>> Daniyal is helping me put this tutorial together, and we believe you
>>>> planned to make an update to the base image for the Blue to enable this.
>>>>
>>>> I think we are waiting on an OpenCV module to be added to the
>>>> preinstalled mjpg-streamer before we can produce a live output of modified
>>>> images.  Is this something you can add on your end and is it feasible to
>>>> implement by next week?  My time is getting compressed to finish lab
>>>> instructions for the fall, so I will decide this week if I should keep this
>>>> lab or remove it from the lessons.
>>>>
>>>> Cheers,
>>>>
>>>> David Malawey, MS ME
>>>> ETID Technical Lab Coordinator
>>>> mala...@tamu.edu
>>>>
>>>
>>>
>>> --
>>> https://beagleboard.org/about
>>>
>>

-- 
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/CAK6ueFnXNcRBb02q3tgQ0zg%3DE_oTNexXmcTfDptknPjvH8KMew%40mail.gmail.com.


[beagleboard] Installing OpenCV for Python3 (cv2) on Debian 8.7

2018-04-17 Thread Daniyal Ansari
I'm having an issue installing OpenCV for python3 (cv2) on Debain 8.7.

Both commands,

sudo pip install opencv-python
sudo pip3 install opencv-python

return the error,

Collecting opencv-python
  Could not find a version that satisfies the requirement opencv-python
(from versions: )
No matching distribution found for opencv-python

I tried this on many of the other debian versions including the most
updated versions, and versions pre-8.7 and have been unable to make it work
anywhere.

-- 

  __  _
 /  )_   '  _ /  /_|_ _ _ '
/(_/(//)/(/(/(  (  |/)_) (// /
 /

-- 
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/CAK6ueFnTUMR8heFPXqyHgXHFWZ3MW6wUeDsyAGYe2cEHHOAgSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Unable to run MJPG-Streamer on BeagleBone Blue using C270

2018-04-30 Thread Daniyal Ansari

Im trying to use mjpg-streamer  on 
my Beaglebone Blue running Debian 8.7 

 (bone-debian-8.7-lxqt-4gb-armhf-2017-03-19-4gb.img.xz).

I am also using 2 C270 logitech webcams but am only trying to stream one at 
a time.

This is the tutorial 

 
I have been trying to follow to install MJPG-Streamer as it uses the 
BB-Black which is the closest tutorial I can find to the BB-Blue.

Here are the commands supplied by the tutorial.


sudo apt-get install g++ curl pkg-config libv4l-dev libjpeg-dev 
build-essential libssl-dev vim cmake

sudo apt-get install imagemagick

wget https://github.com/shrkey/mjpg-streamer/raw/master/mjpg-streamer.tar.gz

tar -xvf ./mjpg-streamer.tar.gz

cd mjpg-streamer

make

sudo make install

./mjpg_streamer -i "./input_uvc.so" -o "./output_http.so -w ./www"


This is my result fom running* ./mjpg_streamer -i "./input_uvc.so" -o 
"./output_http.so -w ./www":*

*debian@beaglebone:~/mjpg-streamer$ ./mjpg_streamer -i "./input_uvc.so" -o 
"./output_http.so -w ./www -p 8090"*
*MJPG Streamer Version: svn rev: *
* i: Using V4L2 device.: /dev/video0*
* i: Desired Resolution: 640 x 480*
* i: Frames Per Second.: 5*
* i: Format: MJPEG*
*Adding control for Pan (relative)*
*UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device*
*Adding control for Tilt (relative)*
*UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device*
*Adding control for Pan Reset*
*UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device*
*Adding control for Tilt Reset*
*UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device*
*Adding control for Pan/tilt Reset*
*UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device*
*Adding control for Focus (absolute)*
*UVCIOC_CTRL_ADD - Error: Inappropriate ioctl for device*
*mapping control for Pan (relative)*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for Tilt (relative)*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for Pan Reset*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for Tilt Reset*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for Pan/tilt Reset*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for Focus (absolute)*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for LED1 Mode*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for LED1 Frequency*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for Disable video processing*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
*mapping control for Raw bits per pixel*
*UVCIOC_CTRL_MAP - Error: Inappropriate ioctl for device*
* o: www-folder-path...: ./www/*
* o: HTTP TCP port.: 8090*
* o: username:password.: disabled*
* o: commands..: enabled*


The only modification I made was to the port that the server runs on where 
I changed it from 8080 to 8090.

Thank you!

-- 
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/ad134a88-6a88-4b12-ba45-ce28ba28bdff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.