[Target detection]windows implementation of C + + version faster-rcnn

This version is a beta version, according to the MATLAB version under Windows Rewrite to follow the program bug, performance, features and other issues continue to update.Works can be downloaded to

C # Large image compression algorithm to reduce picture volume

Statement:Image compression algorithm, not recommended to compress small pictures, general files less than 1m, really do not need to compress,The picture is very small, for example: Hundreds of KB picture, may not reduce the picture volume, but the

Unity C #

Gameobject//Gets the game object that the current script is attached toIn unity, even if you use C # for scripting, you cannot use the console class for output, you should use print (), or Debug.log ();Transform represents the transform component on

C # function to verify ID card is legal

The main is to verify the identity card at the beginning and the format and length of the ID card is correct, not according to the identification Code rules for strict verification/// ///verifying the identity card is legal/// /// the ID to verify

C # Gets the resource picture from the class library and saves the picture resource to the class library

/// ///get a picture of a resource/// Public classAssemblyhelper {#regionConstant/// ///Assembly Name/// Private Static stringCurrentassemblyname =assembly.getexecutingassembly (). GetName (). Name; #endregion #

C # implements XML and DataTable interoperability

Private stringconvertdatatabletoxml (DataTable xmlds) {MemoryStream stream=NULL; XmlTextWriter writer=NULL; Try{Stream=NewMemoryStream (); Writer=NewXmlTextWriter (Stream, Encoding.default); Xmlds.writexml (writer); intCount = (int)

C # takes the corresponding type (type) to a string

public static type Gettypebystring (String type){Switch (type. ToLower ()){Case "BOOL":Return Type.GetType ("System.Boolean", true, true);Case "byte":Return Type.GetType ("System.Byte", true, true);Case "SByte":Return Type.GetType ("System.SByte",

C # where Usage resolution

The WHERE clause is used to specify type constraints that can be used as variables for type parameters defined in a generic declaration.1. Interface constraints.For example, you can declare a generic class mygenericclass, so that the type parameter

C # decimal and 16 binary conversions

In C #, the decimal and 16 binary conversions are simple, as follows:Decimal to hexadecimal:int - = a.tostring ("x8");Hexadecimal to decimal:int b= int32.parse ("266", System.Globalization.NumberStyles.HexNumber);You can also use the following

C # uses GET, POST requests to get results

/// ///GET request and get result/// Public Static stringHttpGet (stringUrlstringpostdatastr) { Try{HttpWebRequest Request= (HttpWebRequest) webrequest.create (Url + (Postdatastr = =""?"":"?") +postdatastr); Request.

C # Determines whether a string is a URL

/// ///determines whether a string is a URL/// /// /// Public Static BOOLIsurl (stringstr) { Try { stringURL =@"^http (s)?:/ /([\w-]+\.) +[\w-]+ (/[\w-./?%&=]*)? $";

C # Determines whether two images are consistent, extremely fast

#regionDetermine if the picture is consistent/// ///determine if the picture is consistent/// /// Picture One/// Picture Two/// is consistent Public BOOLissameimg (Bitmap img, Bitmap bmp) {//Consistent size if(IMG.

Passing values between C # forms (using delegates and custom events)

usingSystem; usingSystem.Drawing; usingSystem.Windows.Forms; namespacecalling a control across forms { Public Partial classForm1:form { PublicForm1 () {InitializeComponent (); } Private voidButton1_Click (Objectsender, EventArgs e)

C # dynamic Load DLL interface

usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;namespacemyfrist{InterfaceTest {intADD (intAintb); } classHei:test { Public intADD (intAintb) {Try { returnA +b; } Catch(Exception

C # getting CPU and memory information for the system

Static voidMain (string[] args) {PerformanceCounter pccpuload=NewPerformanceCounter ("Processor","% Idle time","_total"); ComputerInfo ci=NewComputerInfo (); //Physical Memory ULONGme =CI. TotalPhysicalMemory; ULONGAV =CI.

C # Implementing the Mail sending function

/// ///Send mail/// /// Sender Mailbox /// Sender's name /// Recipient Address /// title /// content /// Sender Account /// Sender Password /// Outgoing Server /// Port //

C # Judging if the program is running as an administrator

I ran the same program, one running in normal status, one running as administrator.Run as administrator, the return is true, and the return is false with normal identity.Code is as follows:Private void button1_click (object sender, EventArgs e)

C # random Number Trivia

Public int[] Array = new int[132] {115, 105,106,107,108,109,110,111,112,113,114,215, 205,206,207,208,209,210,211,212,213,214,315, 305,306,307,308,309,310,311,312,313,314,415, 405,406,407,408,409,410,411,412,413,414,115, 105,106,107,108,109,110,111,11

C # HTML-turn MHT

Introduction of the Cdosys.dll component in the project, location: C:\Windows\System32\cdosys.dllCDO, ADODB These classes all come from the Cdosys.dll componentConvert HTML binary stream into MHT format binary flowhtml format Binary stream in public

Some shortcomings in C

Labels: C Language 1. For the register keyword Example: (1) C program: #includeint main(void){    register int a = 10;     printf("&a = %p\n", &a);    return 0; } Running result: 650) This. width = 650; "src ="

Total Pages: 5902 1 .... 4515 4516 4517 4518 4519 .... 5902 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.