[PYTHON] I tried to use Resultoon on Mac + AVT-C875, but I was frustrated on the way.

https://github.com/entropiajp/resultoon

I wanted to use this on a Mac.

Installation

Atmosphere Thank you for your support.

https://gist.github.com/dmiyakawa/1188613bebdb45e07214

I did --with-qt when I put opencv3, but I don't think it made sense (after all, I needed the "debugging" section below).

For reference, the final state of pip freeze is as follows (I put ipython because it is used for debugging, but it has nothing to do with the main body)

$ pip freeze
appnope==0.1.0
decorator==4.0.2
gnureadline==6.3.3
ipython==4.0.0
ipython-genutils==0.1.0
numpy==1.9.2
path.py==8.1.1
pexpect==3.3
pickleshare==0.5
pytesseract==0.1.6
requests==2.7.0
simplegeneric==0.8.1
tesseract==0.1.3
traitlets==4.0.0

debug

It's tough.

https://gist.github.com/dmiyakawa/711364542f9fa3922dc7

I felt like I was using the old OpenCV constants ... but I'm fine.

When I start it, my face is Manmenmi

cv2.CaptureDevice(0)Was a built-in camera on the Mac.



 However, if you can get even one Capture Device with the built-in camera, it means that the entire code is running on the Mac, so I feel that there is a lot of potential so far.

 (Squid will not recognize if the constant value is wrong, but I have not reached that stage yet)

# Is AVT-C875 not recognized as a Capture Device?

 This was the main subject I didn't understand.

 Apparently, the AVT-C875 can be seen from RECentral, but it cannot be seen as an OpenCV Capture Device. I don't have CaptureDevice (1).

http://stackoverflow.com/a/30384945

 It seems that there is only one Capture Device ... (One is a camera built into the Mac)

 As expected, I can't find a combination of AVT-C875 and OpenCV Zubari. I couldn't find any record that someone was able to do it, so I was frustrated here.

 If you read this, please uncover the truth.

https://github.com/entropiajp/resultoon/pull/2


Recommended Posts

I tried to use Resultoon on Mac + AVT-C875, but I was frustrated on the way.
I want to use Linux on mac
Matching karaoke keys ~ I tried to put it on Laravel ~ <on the way>
I tried Python on Mac for the first time.
I tried to notify the honeypot report on LINE
I tried to scrape YouTube, but I can use the API, so don't do it.
I tried to understand how to use Pandas and multicollinearity based on the Affairs dataset.
I tried changing the python script from 2.7.11 to 3.6.0 on windows10
I tried to launch ipython cluster to the minimum on AWS
I tried to summarize how to use the EPEL repository again
I don't tweet, but I want to use tweepy: just display the search results on the console
I tried to move the ball
I tried to estimate the interval.
I tried to digitize the stamp stamped on paper using OpenCV
I tried to register a station on the IoT platform "Rimotte"
I tried to get started with Bitcoin Systre on the weekend
I tried to display GUI on Mac with X Window System
I got an error when I tried to process luigi in parallel on windows, but the solution
To celebrate the release of Django 3.0, I tried ASGI, the spiritual successor to WSGI, but I couldn't use websocket.
[Python] I tried to visualize the night on the Galactic Railroad with WordCloud!
Snow on your Mac the old-fashioned way
I tried to verify the best way to find a good marriage partner
I tried to summarize the umask command
When I tried to run Python, it was skipped to the Microsoft Store
I tried to recognize the wake word
I was addicted to Flask on dotCloud
I tried to summarize the graphical modeling.
I tried to summarize the logical way of thinking about object orientation.
I was addicted to not being able to use Markdown on pypi's long_description
I tried to install Docker on Windows 10 Home but it didn't work
I tried to estimate the pi stochastically
I tried to touch the COTOHA API
I tried with the top 100 PyPI packages> I tried to graph the packages installed on Python
In IPython, when I tried to see the value, it was a generator, so I came up with it when I was frustrated.
The file edited with vim was readonly but I want to save it
I managed to solve the situation where Python does not work on Mac
I want to use Python in the environment of pyenv + pipenv on Windows 10
I tried to use Java with Termux using Termux Arch but it didn't work
[IBM Cloud] I tried to access the Db2 on Cloud table from Cloud Funtions (python)
I tried to rescue the data of the laptop by booting it on Ubuntu
When I try to use Jupiter notebook on Mac, I can only select python2
I tried to use Twitter Scraper on AWS Lambda and it didn't work.
I tried to display the infection condition of coronavirus on the heat map of seaborn
I tried web scraping to analyze the lyrics.
I tried to use lightGBM, xgboost with Boruta
I tried to optimize while drying the laundry
I tried to save the data with discord
I tried to touch the API of ebay
I tried to correct the keystone of the image
The easiest way to use OpenCV with python
Introduction to Python with Atom (on the way)
Qiita Job I tried to analyze the job offer
LeetCode I tried to summarize the simple ones
I tried playing with the calculator on tkinter
I want to use the activation function Mish
I tried to implement the traveling salesman problem
I tried to predict the price of ETF
I tried to vectorize the lyrics of Hinatazaka46!
I tried to make the phone ring when it was posted at the IoT post
When I tried to do socket communication with Raspberry Pi, the protocol was different
I tried to score the syntax that was too humorous and humorous using the COTOHA API.