`

windows下 opentaps1.4安装(不断更新其他配置)

阅读更多

windows下 opentaps1.4安装(不断更新其他配置)

本帖最后由 102010cncger 于 2009/8/30 00:48 编辑

1.
下载 1.4 版本

http://downloads.sourceforge.net/project/opentaps/opentaps%201.4/opentaps-1.4-preview1.zip?use_mirror=ncu
2.
解压到系统 路径不带空格目录(能通过 cd 进入此目录,目录路径无空格)

3.
安装 jboss

4.
设置 javahome jboss 路径

build-ear.properties


# set the location of your JVM here

JAVA_HOME=D\://Program Files//Java//jdk1.6.0_02

# set the location of your JBoss server here
JBOSS_HOME=E\://jboss-5.1.0.GA
5.
打开

framework/entity/config/entityengine.xml
将所有数据 源改为默认那个localderby这里将不使用 Oracle 数据库
    <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localderby"/>
        <group-map group-name="org.opentaps.analytics" datasource-name="localderby"/>
        <group-map group-name="org.opentaps.testing" datasource-name="localderby"/>
    </delegator>
    <delegator name="default-no-eca" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" entity-eca-enabled="false" distributed-cache-clear-enabled="false">
        <group-map group-name="org.ofbiz" datasource-name="localderby"/>
    </delegator>
    <delegator name="test" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
        <group-map group-name="org.ofbiz" datasource-name="localderby"/>
    </delegator>
    <delegator name="other" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
        <group-map group-name="org.ofbiz" datasource-name="localderby"/>        
    </delegator>
6.
第一次运行

cd C:\opentaps
ant run-install


。。。

[java] 2009-08-29 11:37:19,000 (main) [EntityDataLoadContainer.java:296:INF

O ] =-=-=-=-=-=-= Finished the data load with 15218 rows changed.

[java] 2009-08-29 11:37:19,015 (main) [
ContainerLoader.java:96 :INFO ]

Shutting down containers

BUILD SUCCESSFUL
Total time: 8 minutes 47 seconds
C:\opentaps>

最后出现表示安装成功

7.
非第一次运行

cd C:\opentaps
startofbiz.bat


cd C:\opentaps
java -jar ofbiz.jar

次方法可以直接看到输出信息,但没有启动参数

如果是第二次运行
启动 的时候, ofbiz DatabaseUtils 会检查数据库中是否已经存在系统的表,没有就会自动创建的,一般的创建过程不会出错误的。慢慢等吧

因为没有加到服务,关闭 cmd 窗口将关闭服务

8.
打开网页

For version 1.4: http://localhost:8080/opentaps


相关账户

·
http://localhost:8080/ecommerce

 

For the online store, use username DemoCustomer and password ofbiz .  

 

·
http://localhost:8080/crmsfa

 

For CRM application, use DemoSalesManager and crmsfa .

 

·
http://localhost:8080/warehouse

 

For the warehouse application, use demowarehouse1 and opentaps .

 

·
http://localhost:8080/financials

 

For financials, use demofinadmin and opentaps .

 

·
http://localhost:8080/purchasing

 

For purchasing, use demopurch1 and opentaps .

 

·
http://localhost:8080/ partymgr

 

For administrative applications, use flexadmin and ofbiz

 

·
http://localhost:8080/analytics


Use username analytics and password opentaps to sign it to opentaps Analytics.

·
http://localhost:8080/catalog

 

 

·
http://localhost:8080/webtools

 

Admin,ofbiz


错误 1
注册没多久,不能传图片,呵呵。这里的错误就看不到了,反正是编译的时候通不过的问题。

解决 办法
C:\opentaps\hot-deploy\opentaps-common\build-aspects.xml


<!-- ================================================================== -->


<!-- Weave advice into target jars
-->


<!-- ================================================================== -->


<target name="weave" depends="detect-dependencies" if="processRequired">


<echo message="[build] =========== Start Building Aspect (Weave) ============="/>


<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">


<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>


<jvmarg value="-Daspectwerkz.transform.filter=no"/>


<arg value="-verify"/>


<classpath refid="local.class.path" />




<classpath>


<pathelement path="${build.dir}/classes/common"/>


</classpath>



<!-- below is the jars to post-process -->



<arg value="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar"/>


</java>


<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">


<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>


<jvmarg value="-Daspectwerkz.transform.filter=no"/>


<arg value="-verify"/>


<classpath refid="local.class.path" />




<classpath>


<pathelement path="${build.dir}/classes/common"/>



</classpath>



<!-- below is the jars to post-process, if these jar not effect each other you can put them in same pos, else please seperate them into another task -->



<arg value="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar"/>


</java>


<java classname="org.codehaus.aspectwerkz.compiler.AspectWerkzC" fork="true">


<jvmarg value="-Daspectwerkz.definition.file=${aopConfig}"/>


<jvmarg value="-Daspectwerkz.transform.filter=no"/>


<arg value="-verify"/>


<classpath refid="local.class.path" />




<classpath>


<pathelement path="${build.dir}/classes/common"/>


</classpath>



<!-- below is the jars to post-process -->



<arg value="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar"/>


</java>


<jar jarfile="${lib.dir}/${name}.jar" update="true" basedir="${build.dir}/classes/common" includes="org/opentaps/aspect/secas/**" />


<!-- put aop.xml into target jar META-INF dir -->


<mkdir dir="${build.dir}/classes/META-INF" />



<copy file="${aopConfig}" tofile="${build.dir}/classes/META-INF/aop.xml" overwrite="true"/>


<jar jarfile="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar" update="true" basedir="${build.dir}/classes " includes="META-INF/aop.xml" />


<jar jarfile="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar" update="true" basedir="${build.dir}/classes " includes="META-INF/aop.xml" />


<jar jarfile="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar" update="true" basedir="${build.dir}/classes " includes="META-INF/aop.xml" />


<echo message="[build] =========== Done Building Aspect (Weave) =============="/>

</target>

修改其中

<jar jarfile="${ofbiz.dir}/framework/entity/build/lib/ofbiz-entity.jar" update="true" basedir="${build.dir}/classes/common" includes="META-INF/aop.xml" />

<jar jarfile="${ofbiz.dir}/framework/common/build/lib/ofbiz-common.jar" update="true" basedir="${build.dir}/classes/common" includes="META-INF/aop.xml" />


<jar jarfile="${ofbiz.dir}/applications/order/build/lib/ofbiz-order.jar" update="true" basedir="${build.dir}/classes/common" includes="META-INF/aop.xml" />


错误 2 run-install:

[java] Error occurred during initialization of VM


[java] Could not create the Java virtual machine.


[java] Could not reserve enough space for object heap


[java] Java Result: 1


解决办法

修改 C:\opentaps\bulid.xml


<property name="memory.max.param" value="-Xmx1024M"/>


<property name="permmemory.max.param" value="-XX:MaxPermSize=512m"/>


该校就可以了

<property name="memory.max.param" value="-Xmx512M"/>


<property name="permmemory.max.param" value="-XX:MaxPermSize=64m"/>


If you have not already run the installation data loading script, from the ofbiz home directory run "ant run-install" or "java -jar ofbiz.jar install"
错误 3 Exception in thread "RMI RenewClean-[192.168.1.100:3250,org.ofbiz.service.rmi.so
cket.ssl.SSLClientSocketFactory@394ffa]" java.lang.OutOfMemoryError: Java heap s
pace

at com.sun.net.ssl.internal.ssl.InputRecord.<init>(InputRecord.java:65)


at com.sun.net.ssl.internal.ssl.AppInputStream.<init>(AppInputStream.jav

a:31)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.init(SSLSocketImpl.java:51

8)

at com.sun.net.ssl.internal.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:

351)

at com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl.createSocket(SSLSoc

ketFactoryImpl.java:71)

at org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory.createSocket(

SSLClientSocketFactory.java:46)

at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595)


at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198

)

at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)


at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)


at sun.rmi.transport.DGCImpl_Stub.dirty(Unknown Source)


at sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.jav

a:342)

at sun.rmi.transport.DGCClient$EndpointEntry.access$1600(DGCClient.java:

153)

at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCCli

ent.java:555)

at java.lang.Thread.run(Thread.java:619)

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

at java.util.jar.Manifest$FastInputStream.<init>(Manifest.java:315)


at java.util.jar.Manifest$FastInputStream.<init>(Manifest.java:310)


at java.util.jar.Manifest.read(Manifest.java:178)


at java.util.jar.Manifest.<init>(Manifest.java:52)


at java.util.jar.JarFile.getManifestFromReference(JarFile.java:165)


at java.util.jar.JarFile.getManifest(JarFile.java:146)


at sun.misc.URLClassPath$JarLoader$2.getManifest(URLClassPath.java:693)


at java.net.URLClassLoader.defineClass(URLClassLoader.java:221)


at java.net.URLClassLoader.access$000(URLClassLoader.java:56)


at java.net.URLClassLoader$1.run(URLClassLoader.java:195)


at java.security.AccessController.doPrivileged(Native Method)


at java.net.URLClassLoader.findClass(URLClassLoader.java:188)


at java.lang.ClassLoader.loadClass(ClassLoader.java:306)


at java.lang.ClassLoader.loadClass(ClassLoader.java:251)


at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)


at java.lang.Class.getDeclaredMethods0(Native Method)


at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)


at java.lang.Class.getDeclaredMethods(Class.java:1791)


at sun.reflect.annotation.AnnotationType$1.run(AnnotationType.java:86)


at sun.reflect.annotation.AnnotationType$1.run(AnnotationType.java:83)


at java.security.AccessController.doPrivileged(Native Method)


at sun.reflect.annotation.AnnotationType.<init>(AnnotationType.java:82)


at sun.reflect.annotation.AnnotationType.getInstance(AnnotationType.java

:66)

at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationPar

ser.java:202)


at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationP

arser.java:69)

at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationPa

rser.java:52)

at java.lang.reflect.Field.declaredAnnotations(Field.java:1016)


at java.lang.reflect.Field.getAnnotation(Field.java:1000)


at java.lang.reflect.AccessibleObject.isAnnotationPresent(AccessibleObje

ct.java:168)

at org.hibernate.annotations.common.reflection.java.JavaAnnotationReader

.isAnnotationPresent(JavaAnnotationReader.java:27)

at org.hibernate.annotations.common.reflection.java.JavaXAnnotatedElemen

t.isAnnotationPresent(JavaXAnnotatedElement.java:43)

at org.hibernate.cfg.AnnotationBinder.mustBeSkipped(AnnotationBinder.jav

a:1111)

解决办法,同样修改启动内存大小 , 将参数改小(我机器破)
C:\opentaps\startofbiz.bat


REM "%JAVA_HOME%\bin\java" -Xms256M -Xmx512M -XX:MaxPermSize=64M -Duser.language=en -jar ofbiz.jar > runtime\logs\console.log
"%JAVA_HOME%\bin\java" -Xms512M -Xmx1024M -XX:MaxNewSize=128m -XX:MaxPermSize=256m
-Duser.language=en -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log

REM This one is for more of a debugging mode
REM "%JAVA_HOME%\bin\java" -Xms512M -Xmx1024M -XX:MaxPermSize=128M -Duser.language=en -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log
错误 4 C:\opentaps>"D:\Java\jdk1.6.0_02\bin\java" -Xms256M -Xmx512M -XX:MaxPermSize=64M

-Duser.language=en -jar ofbiz.jar
1>runtime\logs\console.log

0 [main] INFO net.fckeditor.handlers.PropertiesLoader - User's properties loaded

successfully!

16 [main] INFO net.fckeditor.connector.ConnectorServlet - ConnectorServlet succe
ssful initialized!
Exception in thread "org.ofbiz.service.job.JobPoller@1bd9de3" java.lang.OutOfMem
oryError: PermGen space
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space



PermGen space 的全称是 Permanent Generation space, 是指内存的永久保存区域 OutOfMemoryError: PermGen space 从表面上看就是内存益出,解决方法也一定是加大内存。说说为什么会内存益出:这一部分用于存放 Class Meta 的信息 ,Class 在被 Load 的时候被放入 PermGen space 区域,它和和存放 Instance Heap 区域不同 ,GC(Garbage Collection) 不会在主程序运行期对 PermGen space 进行清理,所以如果你的 APP LOAD 很多 CLASS 的话 , 就很可能出现 PermGen space 错误。这种错误常见在 web 服务器 JSP 进行 pre compile 的时候。

改正方法,在 run.bat 中加入: -Xms256m -Xmx512m -XX:MaxNewSize=256m -XX:MaxPermSize=256m

因为项目 中引用了很多的 jar 包,而这些 jar 包中的 class 信息会被 JBoss class loader 加载到 PermGen space 区域,在 JVM 默认的情况下,该部分空间的大小只有 4M ,在 jar 包非常多的情况下,显然是不够用的,所以通过 -XX:MaxPermSize=256m 指定最大值后即可解决问题。

    另外,如果 heap 内存不足出现 java.lang.OutOfMemoryError: Java heap space 时,可以通过 -Xmx512m 指定最大 heap 内存来解决这样的问题


其他备注

查找 datasource-name
更改为 localoracle
查找 localoracle
修改 orcle配置
拷贝 orcle的驱动到

framework/entity/lib/jdbc
注意设置 Eclipse ant utf-8

Ant启动可以选择 不同的方式。



set JAVA_HOME=D:\Java\jdk1.6.0_02
set PATH=%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin
set CLASSPATH=.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar

C:\opentaps> java -jar ofbiz.jar -pos



cd C:\opentaps
java -jar ofbiz.jar -setup test



打包 10. 关掉 Tomcat

11.
DOS 命令行下( C:\OpenbravoERP \AppsOpenbravo

ant compile.complete
ant war
ant deploy

12.
Tomcat 5.5\webapps 下的 openbravo 文件 夹删掉
重启 Tomcat

OK

init :官方垃圾安装说明

General Installation
PDF


Installing opentaps ERP + CRM is fairly easy, and you do not need root user privileges.  These instructions will help you get started running opentaps ERP + CRM on both Unix/Linux and Windows operating systems.
Prerequisites

The first step is to make sure that you have the correct Java Virtual Machine installed.  For opentaps 0.8.x and 0.9.x, you must use Java 1.4.2.  For opentaps 1.0.x, you must use Java 5.  opentaps 1.4 works with both Java 5 or Java 6.  In both cases, you must use the Sun Java SDK , not GNU gcj which may have been supplied with Fedora Core or Ubuntu or the Java Runtime JRE supplied with Windows.
To determine what version of Java you are using, type the following command:
$ java -version

For opentaps 0.8.x and opentaps 0.9.x, you must see something like this:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_xxxx)

For opentaps 1.0.x, you must see something like the following:
Java(TM) 2 RuntimeEnvironment, Standard Edition (build 1.5.xxxx)

You must not see anything like
gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)

or anything that says "JRE".

If you do not see the correct JVM, you must go download it from Sun.

Next, you should unzip the opentaps ERP + CRM .zip file you have just downloaded and go into the directory where it is unzipped:

$ cd opentaps

Starting on Unix/Linux

If you are using a Unix/Linux system, you should make the startup scripts executable:

$ chmod u+x startofbiz.sh
$ chmod u+x stopofbiz.sh

IMPORTANT :  If your system already has gcj and you just installed new Sun JVM, you must tell opentaps ERP + CRM to use the Sun JVM instead of the GCJ JVM in /bin/java by specifying where the JVM is:

$ export JAVA_HOME=/usr/java/j2sdk_xxxx/

(or whichever directory your Sun JVM was installed.)  You can even put this directive into startofbiz.sh and stopofbiz.sh

To start the opentaps server,

$ ./startofbiz.sh

The server is started as a background process, and the logs are piped to a file called "console.log" in the logs/ sub-directory for opentaps 0.8.x and 0.9.x and runtime/logs sub-directory for opentaps 1.0.x  To see the logs,

$ tail -f runtime/logs/console.log

or
$ tail -f logs/console.log
To stop the opentaps ERP + CRM server,

$ ./stopofbiz.sh

To start the Point Of Sales terminal, instead of using startofbiz.sh and stopofbiz.sh, use

$ java -jar ofbiz.jar -pos

Starting on Windows

IMPORTANT :  If you are using Windows, you may run into problems with having paths with directories that have spaces in the name, such as "C:\Documents and Settings".  You can avoid these problems by unzipping in your C:\ directory.

IMPORTANT :  opentaps ERP + CRM runs as a server on your computer and needs to access a number of ports.  If you are having start up problems, try re-configuring or temporarily disabling your firewall.

If you are using Windows, call up a command line terminal (Windows > Run Program > "cmd")  From the terminal, go to your opentaps ERP + CRM directory

C:> cd c:\opentaps

You may need set a variable called JAVA_HOME first to tell Windows where Java is located:

C:> set JAVA_HOME=c:\java_x.x.x


Or which ever directory Java was installed in.

Now run the batch file to start the opentaps ERP + CRM server:

C:\opentaps> startofbiz.bat

The server will run in the terminal.  Alternatively, you can create a Windows shortcut to the startofbiz.bat and place it on your desktop.

If you want to start the Point Of Sales system, use this command instead:

C:\opentaps> java -jar ofbiz.jar -pos

Mac OS X Users
A recent update to OS X 10.4.6 has made Java 5 the default JVM.  To use Java 1.4.2 for opentaps 0.8.x or 0.9.x, set your JAVA_HOME to the correct path:

$ export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home

You can also use /Applications/Utilities/Java/J2SE 5.0/Java Preferences.app to set your preferred Java environment.
Accessing the Server

To access the opentaps ERP + CRM server, open any browser and type in the following:

·
For version 1.4: http://localhost:8080/opentaps


·
For version 1.0 and earlier: http://localhost:8080/


With opentaps 1.4, you will see a greeting page which prompts you to login.  The applications you can access are displayed as icons:

In earlier versions of opentaps, you will see a menu in your browser which shows you all the applications available.


You can now click on the application you wish to access.  If you are using an older version of Sequoia ERP, you will need to access the applications directly using:

http://locahost:8080/crmsfa/control/main

for CRMSFA or

http://localhost:8080/ecommerce/control/main

for the online store.

Oh No!  It Didn't Work!  What Do I Do?
Look in your runtime/logs/console.log and runtime/logs/ofbiz.log (or simply logs/console.log or logs/ofbiz.log files for opentaps 0.8.x and 0.9.x) and see what error messages are recorded.  Check that you are using the correct version, that your database connection is successful, that there were no port conflicts, and that none of the required ports are blocked.

Signing In

For the back end web applications, such as catalog, order, manufacturing, and facility managers, use the username "admin" and the password "ofbiz".

For the ecommerce online store application, use username "DemoCustomer" and password "ofbiz".

For the Point Of Sales application, use username "1" and password "1" for a manager and username "2" and password "2" for a cashier.

What to do if you get an RMIDispatcher Error

If you see an error message like this:
Exception in thread "main" java.lang.NoSuchMethodError: sun.rmi.transport.Object
Table.getStub(Ljava/rmi/Remote;)Ljava/rmi/server/RemoteStub;
at org.objectweb.carol.rmi.jrmp.server.JUnicastRemoteObject.unexportObject(JUnicastRemoteObject.java:138)
at org.objectweb.carol.rmi.multi.JrmpPRODelegate.unexportObject(JrmpPRODelegate.java:94)
at org.objectweb.carol.rmi.multi.MultiPRODelegate.unexportObject(MultiPRODelegate.java:132)
at javax.rmi.PortableRemoteObject.unexportObject(Unknown Source)
at org.objectweb.jotm.SubCoordinator.doAfterCompletion(SubCoordinator.java:1548)  

You are experiencing a problem instantiating the RMI dispatcher.  The RMI dispatcher is used to call remote services running on another instance of oopentaps.  For demo purposes, you can usually turn this off by editing the file base/config/ofbiz-containers.xml and commenting out the <containers> for rmi-dispatcher and rmi-print-server.
What to do if you get a BSH Error

If you see this error message:
java.lang.NoSuchMethodError: bsh.BshClassManager.createClassManager()Lbsh/BshClassManager;
        at org.ofbiz.base.util.BshUtil.getMasterInterpreter(BshUtil.java:124)
        at org.ofbiz.base.util.BshUtil.makeInterpreter(BshUtil.java:95)
        at org.ofbiz.base.util.BshUtil.runBshAtLocation(BshUtil.java:144)

The problem is that your computer has another copy of beanshell (bsh.jar) installed in the Java class path.  For example, OS X sometimes has a bsh.jar in /Library/Java/Extensions/  Simply move it out of the way and try again.

Oracle 相关
理论上数据库可以是任何支持 jdbc 的数据库,我使用的是 oracle9
创建数据库的时候注意选择 utf-8 编码
3.1
建立 oracle 表空间
    create tablespace ofbiz
    datafile '
D:\oracle\product\10.2.0\oradata\ofbiz\ofbiz.dbf' size 2m
    autoextend on next 2m maxsize unlimited;
3.2
建立用户

    create user ofbiz
    identified by ofbiz
    default tablespace ofbiz;
   
    grant connect,resource to ofbiz;
   
   
测试用户
    connect ofbiz/ofbiz;


(用户所需权限为 grant
connect,resource
to javatest
http://localhost:8080/webtools
try username: admin, password: ofbiz.
莫名其妙的 getTextContent 错误 发现 element居然用的是 tidy.jar的东西,删掉后再加上编译居然就不报问题了。郁闷

分享到:
评论

相关推荐

    windows 下安装Opentaps

    在Windows环境下安装Opentaps是一项综合性的IT任务,涉及到多个步骤和组件的配置。以下是根据提供的文件信息,详细解析在Windows下安装Opentaps所需的关键知识点: ### 1. 安装并配置JDK 首先,确保安装了JDK1.5或...

    TinyYolo2实时视频流物体检测ONNX模型

    TinyYolo2实时视频流物体检测ONNX模型 运行 ONNX 模型,并结合 OpenCV 进行图像处理。具体流程包括: 1. 加载并初始化 ONNX 模型。 2. 从摄像头捕获实时视频流。 3. 对每一帧图像进行模型推理,生成物体检测结果。 4. 在界面上绘制检测结果的边界框和标签。

    chromedriver-linux64-134.0.6998.23(Beta).zip

    chromedriver-linux64-134.0.6998.23(Beta).zip

    Web开发:ABP框架4-DDD四层架构的详解

    Web开发:ABP框架4-DDD四层架构的详解

    chromedriver-linux64-135.0.7029.0(Canary).zip

    chromedriver-linux64-135.0.7029.0(Canary).zip

    (参考项目)MATLAB人脸门禁系统.zip

    实现人脸识别的考勤门禁系统可以分为以下步骤: 1. 采集人脸图像数据集:首先需要采集员工的人脸图像数据集,包括正面、侧面等多个角度的图像。可以使用MATLAB中的图像采集工具或者第三方库进行采集。 2. 预处理人脸图像数据:对采集到的人脸图像数据进行预处理,包括人脸检测、人脸对齐、人脸裁剪等操作。MATLAB提供了相关的图像处理工具箱,可以用于实现这些处理步骤。 3. 特征提取与特征匹配:使用人脸识别算法提取人脸图像的特征,比如使用人脸识别中常用的特征提取算法如Eigenfaces、Fisherfaces或者基于深度学习的算法。然后将员工的人脸数据与数据库中的人脸数据进行匹配,判断是否为注册员工。 4. 考勤记录与门禁控制:如果人脸匹配成功,系统可以记录员工的考勤时间,并且控制门禁系统进行开启。MATLAB可以与外部设备进行通信,实现门禁控制以及考勤记录功能。

    rdtyfv、ijij

    yugy

    企业IT治理体系规划.pptx

    企业IT治理体系规划.pptx

    基于Nutz、SSH、SSM的新闻管理系统.zip(毕设&课设&实训&大作业&竞赛&项目)

    项目工程资源经过严格测试运行并且功能上ok,可实现复现复刻,拿到资料包后可实现复现出一样的项目,本人系统开发经验充足(全栈全领域),有任何使用问题欢迎随时与我联系,我会抽时间努力为您解惑,提供帮助 【资源内容】:包含源码+工程文件+说明等。答辩评审平均分达到96分,放心下载使用!可实现复现;设计报告也可借鉴此项目;该资源内项目代码都经过测试运行,功能ok 【项目价值】:可用在相关项目设计中,皆可应用在项目、毕业设计、课程设计、期末/期中/大作业、工程实训、大创等学科竞赛比赛、初期项目立项、学习/练手等方面,可借鉴此优质项目实现复刻,设计报告也可借鉴此项目,也可基于此项目来扩展开发出更多功能 【提供帮助】:有任何使用上的问题欢迎随时与我联系,抽时间努力解答解惑,提供帮助 【附带帮助】:若还需要相关开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步 下载后请首先打开说明文件(如有);整理时不同项目所包含资源内容不同;项目工程可实现复现复刻,如果基础还行,也可在此程序基础上进行修改,以实现其它功能。供开源学习/技术交流/学习参考,勿用于商业用途。质量优质,放心下载使用

    基于多目标粒子群算法的冷热电联供综合能源系统优化调度与运行策略分析,基于多目标粒子群算法的冷热电联供综合能源系统优化调度与运行策略分析,MATLAB代码:基于多目标粒子群算法冷热电联供综合能源系统运行

    基于多目标粒子群算法的冷热电联供综合能源系统优化调度与运行策略分析,基于多目标粒子群算法的冷热电联供综合能源系统优化调度与运行策略分析,MATLAB代码:基于多目标粒子群算法冷热电联供综合能源系统运行优化 关键词:综合能源 冷热电三联供 粒子群算法 多目标优化 参考文档:《基于多目标算法的冷热电联供型综合能源系统运行优化》 仿真平台:MATLAB 平台采用粒子群实现求解 优势:代码注释详实,适合参考学习,非目前烂大街的版本,程序非常精品,请仔细辨识 主要内容:代码构建了含冷、热、电负荷的冷热电联供型综合能源系统优化调度模型,考虑了燃气轮机、电制冷机、锅炉以及风光机组等资源,并且考虑与上级电网的购电交易,综合考虑了用户购电购热冷量的成本、CCHP收益以及成本等各种因素,从而实现CCHP系统的经济运行,求解采用的是MOPSO算法(多目标粒子群算法),求解效果极佳,具体可以看图 ,核心关键词: 综合能源系统; 冷热电三联供; 粒子群算法; 多目标优化; MOPSO算法; 优化调度模型; 燃气轮机; 电制冷机; 锅炉; 风光机组; 上级电网购售电交易。,基于多目标粒子群算法的CCHP综合

    DSP28379D串口升级方案:单核双核升级与Boot优化,C#上位机开发串口通信方案,DSP28379D串口升级方案:单核双核升级与Boot优化,C#上位机开发实现串口通信,DSP28379D串口升

    DSP28379D串口升级方案:单核双核升级与Boot优化,C#上位机开发串口通信方案,DSP28379D串口升级方案:单核双核升级与Boot优化,C#上位机开发实现串口通信,DSP28379D串口升级方案 单核双核升级,boot升级,串口方案。 上位机用c#开发。 ,DSP28379D; 串口升级方案; 单核双核升级; boot升级; 上位机C#开发,DSP28379D串口双核升级方案:Boot串口升级技术使用C#上位机开发

    基于ASP.NET MVC+三层架构和EntityFramework的微博门户网站项目.zip(毕设&课设&实训&大作业&竞赛&项目)

    项目工程资源经过严格测试运行并且功能上ok,可实现复现复刻,拿到资料包后可实现复现出一样的项目,本人系统开发经验充足(全栈全领域),有任何使用问题欢迎随时与我联系,我会抽时间努力为您解惑,提供帮助 【资源内容】:包含源码+工程文件+说明等。答辩评审平均分达到96分,放心下载使用!可实现复现;设计报告也可借鉴此项目;该资源内项目代码都经过测试运行,功能ok 【项目价值】:可用在相关项目设计中,皆可应用在项目、毕业设计、课程设计、期末/期中/大作业、工程实训、大创等学科竞赛比赛、初期项目立项、学习/练手等方面,可借鉴此优质项目实现复刻,设计报告也可借鉴此项目,也可基于此项目来扩展开发出更多功能 【提供帮助】:有任何使用上的问题欢迎随时与我联系,抽时间努力解答解惑,提供帮助 【附带帮助】:若还需要相关开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步 下载后请首先打开说明文件(如有);整理时不同项目所包含资源内容不同;项目工程可实现复现复刻,如果基础还行,也可在此程序基础上进行修改,以实现其它功能。供开源学习/技术交流/学习参考,勿用于商业用途。质量优质,放心下载使用

    基于PLC的双层自动门控制:光电传感触发,有序开关与延时功能实现,附程序、画面及参考文档 ,基于PLC的双层自动门控制系统:精准控制,保障无尘环境;门间联动,智能安防新体验 ,基于plc的双层自动门控

    基于PLC的双层自动门控制:光电传感触发,有序开关与延时功能实现,附程序、画面及参考文档。,基于PLC的双层自动门控制系统:精准控制,保障无尘环境;门间联动,智能安防新体验。,基于plc的双层自动门控制系统,全部采用博途仿真完成,提供程序,画面,参考文档,详情见图。 实现功能(详见上方演示视频): ① 某房间要求尽可能地保持无尘,在通道上设置了两道电动门,门1和门2,可通过光电传感器自动完成门的打开和关闭。 门1和门2 不能同时打开。 ② 第 1 道门(根据出入方向不同,可能是门 1 或门 2),是由在通道外的开门者通过按开门按钮打开的,而第 2 道门(根据出入方向不同,可能是门 1 或门 2 )则是在打开的第 1 道门关闭后自动地打开的(也可以由通道内的人按开门按钮来打开第2 道门)。 这两道门都是在门开后,经过 3s 的延时而自动关闭的。 ③ 在门关闭期间,如果对应的光电传感器的信号被遮断,则门立即自动打开。 如果在门外或者在门内的开门者按对应的开门按钮时,立即打开。 ④ 出于安全方面的考虑,如果在通道内的某个人经过光电传感器时,对应的门已经打开,则通道外的开门者可以不按开门按钮。

    黑马程序员Java品达通用权限项目,基于SpringCloud SpringBoot 的微服务框架的权限管理解决方案.zip

    项目工程资源经过严格测试运行并且功能上ok,可实现复现复刻,拿到资料包后可实现复现出一样的项目,本人系统开发经验充足(全栈全领域),有任何使用问题欢迎随时与我联系,我会抽时间努力为您解惑,提供帮助 【资源内容】:包含源码+工程文件+说明等。答辩评审平均分达到96分,放心下载使用!可实现复现;设计报告也可借鉴此项目;该资源内项目代码都经过测试运行,功能ok 【项目价值】:可用在相关项目设计中,皆可应用在项目、毕业设计、课程设计、期末/期中/大作业、工程实训、大创等学科竞赛比赛、初期项目立项、学习/练手等方面,可借鉴此优质项目实现复刻,设计报告也可借鉴此项目,也可基于此项目来扩展开发出更多功能 【提供帮助】:有任何使用上的问题欢迎随时与我联系,抽时间努力解答解惑,提供帮助 【附带帮助】:若还需要相关开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步 下载后请首先打开说明文件(如有);整理时不同项目所包含资源内容不同;项目工程可实现复现复刻,如果基础还行,也可在此程序基础上进行修改,以实现其它功能。供开源学习/技术交流/学习参考,勿用于商业用途。质量优质,放心下载使用

    DeepSeek+DeepResearch-让科研像聊天一样简单

    DeepSeek+DeepResearch——让科研像聊天一样简单 (1)DeepSeek如何做数据分析? (2)DeepSeek如何分析文件内容? (3)DeepSeek如何进行数据挖掘? (4)DeepSeek如何进行科学研究? (5)DeepSeek如何写综述? (6)DeepSeek如何进行数据可视化? (7)DeepSeek如何写作润色? (8)DeepSeek如何中英文互译? (9)DeepSeek如何做降重? (10)DeepSeek论文参考文献指令 (11)DeepSeek基础知识。

    基于springboot+uniapp实现的蛋糕商城小程序.zip(毕设&课设&实训&大作业&竞赛&项目)

    项目工程资源经过严格测试运行并且功能上ok,可实现复现复刻,拿到资料包后可实现复现出一样的项目,本人系统开发经验充足(全栈全领域),有任何使用问题欢迎随时与我联系,我会抽时间努力为您解惑,提供帮助 【资源内容】:包含源码+工程文件+说明等。答辩评审平均分达到96分,放心下载使用!可实现复现;设计报告也可借鉴此项目;该资源内项目代码都经过测试运行,功能ok 【项目价值】:可用在相关项目设计中,皆可应用在项目、毕业设计、课程设计、期末/期中/大作业、工程实训、大创等学科竞赛比赛、初期项目立项、学习/练手等方面,可借鉴此优质项目实现复刻,设计报告也可借鉴此项目,也可基于此项目来扩展开发出更多功能 【提供帮助】:有任何使用上的问题欢迎随时与我联系,抽时间努力解答解惑,提供帮助 【附带帮助】:若还需要相关开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步 下载后请首先打开说明文件(如有);整理时不同项目所包含资源内容不同;项目工程可实现复现复刻,如果基础还行,也可在此程序基础上进行修改,以实现其它功能。供开源学习/技术交流/学习参考,勿用于商业用途。质量优质,放心下载使用

    jdepend-demo-2.9.1-10.el7.x64-86.rpm.tar.gz

    1、文件内容:jdepend-demo-2.9.1-10.el7.rpm以及相关依赖 2、文件形式:tar.gz压缩包 3、安装指令: #Step1、解压 tar -zxvf /mnt/data/output/jdepend-demo-2.9.1-10.el7.tar.gz #Step2、进入解压后的目录,执行安装 sudo rpm -ivh *.rpm 4、更多资源/技术支持:公众号禅静编程坊

    关爱儿童公益网站 web 项目.zip

    项目工程资源经过严格测试运行并且功能上ok,可实现复现复刻,拿到资料包后可实现复现出一样的项目,本人系统开发经验充足(全栈全领域),有任何使用问题欢迎随时与我联系,我会抽时间努力为您解惑,提供帮助 【资源内容】:包含源码+工程文件+说明等。答辩评审平均分达到96分,放心下载使用!可实现复现;设计报告也可借鉴此项目;该资源内项目代码都经过测试运行;功能ok 【项目价值】:可用在相关项目设计中,皆可应用在项目、毕业设计、课程设计、期末/期中/大作业、工程实训、大创等学科竞赛比赛、初期项目立项、学习/练手等方面,可借鉴此优质项目实现复刻,设计报告也可借鉴此项目,也可基于此项目来扩展开发出更多功能 【提供帮助】:有任何使用上的问题欢迎随时与我联系,抽时间努力解答解惑,提供帮助 【附带帮助】:若还需要相关开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步 下载后请首先打开说明文件(如有);整理时不同项目所包含资源内容不同;项目工程可实现复现复刻,如果基础还行,也可在此程序基础上进行修改,以实现其它功能。供开源学习/技术交流/学习参考,勿用于商业用途。质量优质,放心下载使用

    MATLAB实现WOA-LSTM鲸鱼算法优化长短期记忆网络数据分类预测(含模型描述及示例代码)

    内容概要:本文档详细介绍了如何利用 MATLAB 实现鲸鱼优化算法 (WOA) 和长短期记忆网络 (LSTM) 相结合的技术——WOA-LSTM,在数据分类和预测领域的应用。文章首先概述了LSTM在网络训练中超参数依赖的问题以及WOA作为一种新颖的全局优化算法的优势。接着阐述了该项目的研究背景、目的及其重要意义,并深入讨论了项目面临的六大主要挑战,从模型优化到超参数空间管理。文档特别强调WOA-LSTM融合所带来的性能提升、降低计算复杂度的能力及其实现自动化的超参数优化流程。除此之外,文中展示了模型的应用广泛性,覆盖了从金融市场的股票预测到智能制造业的各种实际场景,并提供了具体的模型架构细节和代码实例,以帮助理解模型的工作原理和技术要点。 适合人群:具有一定编程技能的研究人员、工程师和科学家们,尤其是对深度学习技术和机器学习感兴趣的专业人士。 使用场景及目标:该文档的目标是向用户传授使用MATLAB实现WOA-LSTM进行复杂数据分类和预测的方法论,旨在指导读者理解和掌握如何利用WOA进行超参数寻优,从而改善LSTM网络性能。 其他说明:通过阅读这份文档,使用者不仅能够获得有关WOA-LSTM技术的具体实现方式的知识,而且还可以获取关于项目规划和实际部署过程中的宝贵经验。

    tomcat安装及配置教程.md

    tomcat安装及配置教程.md

Global site tag (gtag.js) - Google Analytics