processing

Facial Recognition in Java/Processing

限于喜欢 提交于 2019-12-03 01:34:04
问题 I am doing a project that requires some facial recognition. I am attempting to find a Java implementation of this. I am not looking for facial detection. We are trying to do facial recognition through a live camera feed. Is there any way to implement this in Java or Processing? At the moment the only ones I have been able to find are in some type of C, which is not going to work for me. 回答1: I am working on the Face Detection/ Face Recognition topic as well. I can recommend the following

OpenCV pyrMeanShiftFilter in Processing--problems with matrix

匿名 (未验证) 提交于 2019-12-03 01:27:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to use the Mean Shift Function from OpenCV inside a program called Processing, which is a language based on Java. So far, I know that the function requires two mat and two double, [ pyrMeanShiftFiltering( Mat, Mat, Double, Double) ] and the mat needs to be 8 bits and 3 channels. But, when I run it, it only seems to work for the upper 3/4 th of the image and cuts out the rest. Does anyone know how to get this function to run on the whole image? sample image: cat.jpg import gab.opencv.*; import java.nio.*; import org.opencv.imgproc

V/FA: Processing queued up service tasks: 1 followed by V/FA: Inactivity, disconnecting from AppMeasurementService

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: As it is visible in the console output below, the application usually needs 7-10 seconds to process the service and often fails to do it. This happens on every startup. Why is it taking so long? Is it because the service is trying to connect multiple times before giving up? Also, what is actually the logic behind this output? Note: I don't have any FirebaseAnalytics code in my application 09-26 23:34:48.998 /package V/FA: Processing queued up service tasks: 1 09-26 23:34:54.009 /package V/FA: Inactivity, disconnecting from

pyinstaller and onefile build causes Error loading Python DLL (error code 14001)

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I use pyinstaller to create an exe out of my script file. My script is mysql_backup.py I run pyinstaller --onefile mysql_backup.py Output 52 INFO: wrote C:\Users\vlahopou\PycharmProjects\TestClient\mysql_backup.spec 73 INFO: Testing for ability to set icons, version resources... 104 INFO: ... resource update available 105 INFO: UPX is not available. 128 INFO: Processing hook hook-os 219 INFO: Processing hook hook-time 223 INFO: Processing hook hook-cPickle 276 INFO: Processing hook hook-_sre 368 INFO: Processing hook hook-cStringIO 446 INFO:

Using memmap files for batch processing

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a huge dataset on which I wish to PCA. I am limited by RAM and computational efficency of PCA. Therefore, I shifted to using Iterative PCA. Dataset Size-(140000,3504) The documentation states that This algorithm has constant memory complexity, on the order of batch_size, enabling use of np.memmap files without loading the entire file into memory. This is really good, but unsure on how take advantage of this. I tried load one memmap hoping it would access it in chunks but my RAM blew. My code below ends up using a lot of RAM: ut = np

print a progress-bar processing in Python

匿名 (未验证) 提交于 2019-12-03 01:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I wrote this simple function "processing_flush" in order to print a sequence of points (given by index) to test if my software is processing my data and eventually the speed. The total size of my data is unknown. import sys import time def processing_flush(n, index=5): sys.stdout.write("\rProcessing %s" % ((n % index)* ".")) sys.stdout.flush() for n in xrange(20): processing_flush(n, index=5) time.sleep(1) The problem that i cannot fix is when all points are printed the first time (ex: Processing .... if index is equal to 5) the cursor doesn

SolrCloud with SSL and Basic Authentication

匿名 (未验证) 提交于 2019-12-03 01:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to configure SolrCloud with SSL and Basic Authentication? I have configured 3 nodes of Solr in SolrCloud with SSL using this: https://cwiki.apache.org/confluence/display/solr/Enabling+SSL and I have added authentication and authorization following this: https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin , https://cwiki.apache.org/confluence/display/solr/Rule-Based+Authorization+Plugin when only SSL is enabled it works. when only authentication + authorization is enabled it works when both are enabled

Processing multiple results from CLR stored procedure in T-SQL

匿名 (未验证) 提交于 2019-12-03 01:20:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I have some complex algorithm written in C# as CLR Stored procedure. Procedure is not deterministic (it depends on current time). The result of procedure are two tables. I didn't found any solution how to process multi-results from stored procedures in T-SQL. The performance of this procedure is key (procedure is called every ~2 seconds). I found the fastest way how to update tables is: UPDATE [ db - table ] SET ... SELECT * FROM [ clr - func ] It's much faster then update db-table from CLR procedure via ADO.NET. I used static

dpkg: error processing package oracle-java8-installer (--configure):

匿名 (未验证) 提交于 2019-12-03 01:18:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to install sbt on Ubuntu 16.04. I have mistakenly stopped the process when running the following command, sudo apt-get install sbt Now when I try to install again, I am getting the below error, Downloading Oracle Java 8... --2017-04-24 17:34:33-- http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 104.80.89.58, 104.80.89.16 Connecting to download.oracle.com (download.oracle.com)|104.80.89.58|:80... connected. HTTP

issue with get processing options

匿名 (未验证) 提交于 2019-12-03 01:14:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have selected application ( A0000000032010 ) on Visa contactless card and when I issue GPO command: "80A8000002830000" I get error: 67 00 Does anyone have idea what can be causing this? 回答1: You receive that error code because you are sending an invalid GET PROCESSING OPTIONS command. In response to the application selection, you received the following PDOL: 9F38 0E (Processing Options Data Object List (PDOL)) 9F6604 (Terminal Transaction Qualifiers (TTQ)) 9F0206 (Amount, Authorized (Numeric)) 9F3704 (Unpredictable Number) 5F2A02