我可以在Google应用程序引擎上使用python打开cv吗?(Can I use open cv with python on Google app engine?)
嗨,其实我正在研究一个我打算在google appengine上部署的项目。 不过,我发现谷歌应用程序引擎是由python支持的。 我可以在Google应用引擎上使用python脚本运行openCV吗?
HI actually I was working on a project which i intended to deploy on the google appengine. However I found that google app engine is supported by python. Can I run openCV with python scripts on Google app engine?
原文:https://stackoverflow.com/questions/14217858
最满意答案
我在工作中遇到了类似的问题。 原因是网站运行的服务器是虚拟服务器。 它看起来不像你正在做任何CPU密集型(与我们的应用程序相同),因此不应该有问题。 但是,对我们来说,将应用程序放在专用服务器上确实解决了这个问题......
The problem of this answer is fully described here. So the anser to my problem is another question. Thx everyone!!
https://serverfault.com/questions/174236/iis-7-5-doesnt-cache-3rd-party-dll-on-recycle
相关问答
更多-
“静态”解决方案(从某种意义上说,它可以根据需要捕获堆栈跟踪)将是Process Monitor 。 一个更动态的解决方案是ApiMonitor ,但它可能太旧而不能与要监控的应用程序兼容。 值得一试虽然。 Some more Google searching found what I was looking for: WinAPIOverride32. It allows writing text files such as: CustomApi.dll|void NameOfFunction(long ...
-
您可以改用数据库。 它会更快。 Sqlite是轻量级和强大的。 Its text to tree transformation time. I managed this in my code by Loadaing and Parsing the XML in all processes, only after a write has occured in any one of the process.
-
对于您的情况没有100%的解决方案,要么您已缓存结果,要么每次都计算它。 如果缓存会给您的应用带来风险,那么妥协就是非常小心地配置缓存策略。 Afaik,只有在您必须立即应用更改时,缓存才会在极少数情况下造成风险。 考虑使用一些高级缓存策略,如缓存依赖性 。 There is no 100% solution for your situation, either you have your results cached, either you calculate it every time. The com ...
-
慢速方法调用(Slow methods calls)[2022-04-06]
你有可能: 内置调试模式 跑进调试器。 我的结果: c:\Users\Jon\Test>csc /o+ /debug- Test.cs Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1 for Microsoft (R) .NET Framework version 3.5 Copyright (C) Microsoft Corporation. All rights reserved. c:\Users\Jon\Test>test 17 ... -
慢速拨打clojure代理(Slow calls to clojure proxy)[2022-06-13]
我的理解是新的reify宏比proxy更快。 如果您只需要实现单个接口,则可以使用它。 例如,如果需要实现java.awt.event.ActionListener ,可以使用如下代码: (import 'java.awt.event.ActionListener 'javax.swing.JButton) (let [a-button (JButton. "Click Me")] (.addActionListener a-button (reify ActionListener ... -
我发现问题与图像大小有关。 而不是使用尺寸确切的图标我使用的是最初发送给我的大约1000%的尺寸。 I found that the issue was related to the image sizes. Instead of using icons that were the exact sizes I was using what was originally sent to me which was about 1000% larger.
-
我在工作中遇到了类似的问题。 原因是网站运行的服务器是虚拟服务器。 它看起来不像你正在做任何CPU密集型(与我们的应用程序相同),因此不应该有问题。 但是,对我们来说,将应用程序放在专用服务器上确实解决了这个问题...... The problem of this answer is fully described here. So the anser to my problem is another question. Thx everyone!! https://serverfault.com/ques ...
-
模拟器非常慢,可能是导致问题的原因。 什么都没有跳出你的代码,所以在撕掉你的头发之前尝试在真正的设备上试图让它更顺畅。 The emulator is terribly slow and probably the cause of your issues. Nothing jumps out of your code, so try it on a real device before you tear your hair out trying to make it smoother.
-
Rails在哪里放置API调用,所以它不会减慢应用程序的速度?(Rails where to put API calls so it doesn't slow down the app?)[2022-04-03]
您可以使用sidekiq并将结果存储在数据库中,只需在视图中读取它,这样您就可以加快应用程序的速度并减少对API的调用。 每次呈现视图时调用API都没有意义。 引用: sidekiq - https://github.com/mperham/sidekiq api调用sidekiq - https://www.twilio.com/blog/2015/10/delay-api-calls-to-twilio-with-rails-active-job-and-sidekiq.html you can do ... -
为什么我的.net应用程序在重启机器后启动速度非常慢?(why my .net application horribly slow to start after the machine is rebooted?)[2021-12-13]
另一个原因可能是Authenticode签名的程序集,没有互联网连接。 请参阅为什么签名的程序集加载缓慢? 例如, WPF应用程序在启动时运行缓慢 。 Another reason could be Authenticode signed assemblies and no internet connection. See Why are signed assemblies slow to load? and WPF application slow on startup for example.